diff --git a/rma_put_away/__manifest__.py b/rma_put_away/__manifest__.py index 2d5821bd..abee8ea7 100644 --- a/rma_put_away/__manifest__.py +++ b/rma_put_away/__manifest__.py @@ -1,6 +1,6 @@ { "name": "RMA Put Away", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "LGPL-3", "category": "RMA", "summary": "Allows to put away the received products in odoo", diff --git a/rma_put_away/models/rma_operation.py b/rma_put_away/models/rma_operation.py index 504d6014..727893ce 100644 --- a/rma_put_away/models/rma_operation.py +++ b/rma_put_away/models/rma_operation.py @@ -13,7 +13,6 @@ class RmaOperation(models.Model): ("ordered", "Based on Ordered Quantities"), ("received", "Based on Received Quantities"), ], - string="Put Away Policy", default="no", ) put_away_route_id = fields.Many2one( diff --git a/rma_put_away/models/rma_order_line.py b/rma_put_away/models/rma_order_line.py index 841c9106..14ea2f59 100644 --- a/rma_put_away/models/rma_order_line.py +++ b/rma_put_away/models/rma_order_line.py @@ -53,7 +53,6 @@ class RmaOrderLine(models.Model): line.put_away_count = len(pickings) qty_to_put_away = fields.Float( - string="Qty To Put Away", copy=False, digits="Product Unit of Measure", readonly=True, @@ -61,7 +60,6 @@ class RmaOrderLine(models.Model): store=True, ) qty_in_put_away = fields.Float( - string="Qty In Put Away", copy=False, digits="Product Unit of Measure", readonly=True, @@ -69,7 +67,6 @@ class RmaOrderLine(models.Model): store=True, ) qty_put_away = fields.Float( - string="Qty Put Away", copy=False, digits="Product Unit of Measure", readonly=True, @@ -82,7 +79,6 @@ class RmaOrderLine(models.Model): ("ordered", "Based on Ordered Quantities"), ("received", "Based on Received Quantities"), ], - string="Put Away Policy", default="no", required=True, readonly=False, diff --git a/rma_put_away/tests/test_rma_put_away.py b/rma_put_away/tests/test_rma_put_away.py index b5c2df91..be54cd2e 100644 --- a/rma_put_away/tests/test_rma_put_away.py +++ b/rma_put_away/tests/test_rma_put_away.py @@ -118,7 +118,7 @@ class TestRmaPutAway(common.SingleTransactionCase): rma._onchange_operation_id() rma.action_rma_to_approve() wizard = self.rma_make_picking.with_context( - { + **{ "active_ids": rma.id, "active_model": "rma.order.line", "picking_type": "incoming", @@ -127,7 +127,7 @@ class TestRmaPutAway(common.SingleTransactionCase): ).create({}) wizard._create_picking() wizard = self.rma_make_put_away_wiz.with_context( - { + **{ "active_ids": rma.id, "active_model": "rma.order.line", "item_ids": [ @@ -174,7 +174,7 @@ class TestRmaPutAway(common.SingleTransactionCase): rma._onchange_lot_id() rma.action_rma_to_approve() wizard = self.rma_make_picking.with_context( - { + **{ "active_ids": rma.id, "active_model": "rma.order.line", "picking_type": "incoming", @@ -189,7 +189,7 @@ class TestRmaPutAway(common.SingleTransactionCase): mv.quantity_done = mv.product_uom_qty picking._action_done() wizard = self.rma_make_put_away_wiz.with_context( - { + **{ "active_ids": rma.id, "active_model": "rma.order.line", "item_ids": [ diff --git a/rma_put_away/wizards/rma_put_away_view.xml b/rma_put_away/wizards/rma_put_away_view.xml index 1c6bfbc5..d6850e57 100644 --- a/rma_put_away/wizards/rma_put_away_view.xml +++ b/rma_put_away/wizards/rma_put_away_view.xml @@ -7,7 +7,7 @@
- +