Skip to content

Commit

Permalink
[3532][IMP] product_plm_import: set uom field to be non-required fiel…
Browse files Browse the repository at this point in the history
…d. (#54)

Based on Client requirement that if in the import file from PLM doesn't includes with UOM, odoo should propose the UoM as unit.
Currently if in the import file the uom is not declared, the import will be failed with error message 'Unit of Material is Missing'.
This improvement will propose the uom as unit if the the file have such condition by set required field of the uom field is False.
  • Loading branch information
rinaldifirdaus authored Oct 20, 2023
1 parent 3776055 commit 2a4d1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_plm_import/wizards/product_plm_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
["procure_flag", "Procure flag", "char", True],
["item_type", "Item Type", "char", True],
["category", "Category", "char", True],
["uom", "Unit of Material", "char", True],
["uom", "Unit of Material", "char", False],
["description", "Description", "char", True],
["spec", "Spec", "char", False],
["drawing", "Drawing No", "char", False],
Expand Down

0 comments on commit 2a4d1ea

Please sign in to comment.