diff --git a/sale_order_batch/README.rst b/sale_order_batch/README.rst index 2b7e934..408d66e 100644 --- a/sale_order_batch/README.rst +++ b/sale_order_batch/README.rst @@ -41,7 +41,8 @@ Changelog :1.1.1: Remove validity date :2.0.0: Move product logic to sale order lines :2.1.0: Add "In Progress" and "Cancelled" state -:2.1.0: Add invoice status and menues +:2.2.0: Add invoice status and menues +:2.2.1: Add lst_price to view Bug Tracker =========== diff --git a/sale_order_batch/__manifest__.py b/sale_order_batch/__manifest__.py index 6afd829..f743195 100644 --- a/sale_order_batch/__manifest__.py +++ b/sale_order_batch/__manifest__.py @@ -4,7 +4,7 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "Sale", - "version": "16.0.2.2.0", + "version": "16.0.2.2.1", "depends": ["sale", "product"], "data": [ "data/ir_sequence_data.xml", diff --git a/sale_order_batch/models/sale_order_batch_product.py b/sale_order_batch/models/sale_order_batch_product.py index 288634b..dee90fc 100644 --- a/sale_order_batch/models/sale_order_batch_product.py +++ b/sale_order_batch/models/sale_order_batch_product.py @@ -27,6 +27,13 @@ class SaleOrderBatchProduct(models.Model): product_uom_category_id = fields.Many2one(related="product_id.uom_id.category_id", depends=["product_id"]) product_uom_qty = fields.Float(compute="_compute_uom_qty", string="Quantity") product_uom = fields.Many2one(related="product_id.uom_id") + lst_price = fields.Float( + "Sales Price", + related="product_id.lst_price", + digits="Product Price", + help="""The sale price is managed from the product template. Click on the + 'Configure Variants' button to set the extra attribute prices.""", + ) product_packaging_id = fields.Many2one( comodel_name="product.packaging", string="Packaging", diff --git a/sale_order_batch/readme/HISTORY.rst b/sale_order_batch/readme/HISTORY.rst index a1b5cb6..6e33e1b 100644 --- a/sale_order_batch/readme/HISTORY.rst +++ b/sale_order_batch/readme/HISTORY.rst @@ -5,4 +5,5 @@ :1.1.1: Remove validity date :2.0.0: Move product logic to sale order lines :2.1.0: Add "In Progress" and "Cancelled" state -:2.1.0: Add invoice status and menues \ No newline at end of file +:2.2.0: Add invoice status and menues +:2.2.1: Add lst_price to view \ No newline at end of file diff --git a/sale_order_batch/static/description/index.html b/sale_order_batch/static/description/index.html index cd417ce..f447550 100644 --- a/sale_order_batch/static/description/index.html +++ b/sale_order_batch/static/description/index.html @@ -406,7 +406,9 @@ anymore as log as they are part of a batch. Only Sale Orders in state Qutotation