This commit is contained in:
2026-03-18 18:02:49 +01:00
parent 8c3c224c07
commit a41ec4412d
4 changed files with 7 additions and 0 deletions

View File

@@ -621,6 +621,8 @@ class Line(metaclass=PoolMeta):
fields.Char("Attributes Name"),
'on_change_with_attributes_name'
)
finished = fields.Boolean("Mark as finished")
@fields.depends('product')
def on_change_with_attribute_set(self, name=None):

View File

@@ -618,6 +618,7 @@ class SaleLine(metaclass=PoolMeta):
'on_change_with_attributes_name'
)
finished = fields.Boolean("Mark as finished")
pricing_rule = fields.Text("Pricing description")
price_composition = fields.One2Many('price.composition','sale_line',"Price composition")

View File

@@ -6,6 +6,8 @@ this repository contains the full copyright notices and license terms. -->
<newline/>
<label name="quantity_theorical"/>
<field name="quantity_theorical"/>
<label name="finished"/>
<field name="finished"/>
<newline/>
<label name="enable_linked_currency"/>
<field name="enable_linked_currency"/>

View File

@@ -6,6 +6,8 @@ this repository contains the full copyright notices and license terms. -->
<newline/>
<label name="quantity_theorical"/>
<field name="quantity_theorical"/>
<label name="finished"/>
<field name="finished"/>
<newline/>
<label name="enable_linked_currency"/>
<field name="enable_linked_currency"/>