[IMP] sale_order_batch: add price to batch product list view
This commit is contained in:
parent
e5fc800855
commit
a1487b4fcf
6 changed files with 16 additions and 4 deletions
|
|
@ -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
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
:2.2.0: Add invoice status and menues
|
||||
:2.2.1: Add lst_price to view
|
||||
|
|
@ -406,7 +406,9 @@ anymore as log as they are part of a batch. Only Sale Orders in state Qutotation
|
|||
</tr>
|
||||
<tr class="field"><th class="field-name">2.1.0:</th><td class="field-body">Add “In Progress” and “Cancelled” state</td>
|
||||
</tr>
|
||||
<tr class="field"><th class="field-name">2.1.0:</th><td class="field-body">Add invoice status and menues</td>
|
||||
<tr class="field"><th class="field-name">2.2.0:</th><td class="field-body">Add invoice status and menues</td>
|
||||
</tr>
|
||||
<tr class="field"><th class="field-name">2.2.1:</th><td class="field-body">Add lst_price to view</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -172,6 +172,7 @@
|
|||
<field name="product_template_id" optional="hide"/>
|
||||
<field name="product_id"/>
|
||||
<field name="product_uom_qty"/>
|
||||
<field name="lst_price"/>
|
||||
<field name="product_packaging_qty" groups="product.group_stock_packaging"/>
|
||||
<field name="product_packaging_id" groups="product.group_stock_packaging"/>
|
||||
</tree>
|
||||
|
|
|
|||
Loading…
Reference in a new issue