diff --git a/product_import_cwa/models/cwa_product_uom.py b/product_import_cwa/models/cwa_product_uom.py index a91b4fa..1968992 100644 --- a/product_import_cwa/models/cwa_product_uom.py +++ b/product_import_cwa/models/cwa_product_uom.py @@ -12,7 +12,6 @@ class CwaProductUom(models.Model): uom_id = fields.Many2one("uom.uom", "Standard UoM", size=64, required=True) uom_po_id = fields.Many2one("uom.uom", "Purchase UoM", size=64, required=True) target_inhoud = fields.Float() - uos_combo = fields.Char("UoM/UoS Combo") @api.model def get_translated(self, source): diff --git a/product_import_cwa/views/cwa_product_uom.xml b/product_import_cwa/views/cwa_product_uom.xml index cb80aa7..216b3f2 100644 --- a/product_import_cwa/views/cwa_product_uom.xml +++ b/product_import_cwa/views/cwa_product_uom.xml @@ -9,7 +9,6 @@ - @@ -25,7 +24,6 @@ - diff --git a/product_import_cwa/wizard/cwa_locate_uom_wizard.py b/product_import_cwa/wizard/cwa_locate_uom_wizard.py index bbbb537..898a32c 100644 --- a/product_import_cwa/wizard/cwa_locate_uom_wizard.py +++ b/product_import_cwa/wizard/cwa_locate_uom_wizard.py @@ -23,7 +23,6 @@ def _default_uom_ids(self): "cwa_product_id": this.id, "eenheid": this.eenheid, "inhoud": this.inhoud, - "uos_combo": combo, }, ) ) @@ -55,7 +54,6 @@ class CwaProductImportWizard(models.TransientModel): uom_id = fields.Many2one("uom.uom", "Standard UoM", size=64) uom_po_id = fields.Many2one("uom.uom", "Purchase UoM", size=64) target_inhoud = fields.Float() - uos_combo = fields.Char("UoM/UoS Combo") # assume the purchase unit is same as uom, saves time! @api.onchange("uom_id") @@ -72,6 +70,5 @@ def action_apply(self): "inhoud": this.inhoud, "uom_id": this.uom_id.id, "uom_po_id": this.uom_po_id.id, - "uos_combo": this.uos_combo, } self.env["cwa.product.uom"].create(values) diff --git a/product_import_cwa/wizard/cwa_locate_uom_wizard.xml b/product_import_cwa/wizard/cwa_locate_uom_wizard.xml index 54640e4..fbf9695 100644 --- a/product_import_cwa/wizard/cwa_locate_uom_wizard.xml +++ b/product_import_cwa/wizard/cwa_locate_uom_wizard.xml @@ -14,7 +14,6 @@ -