18.03.26
This commit is contained in:
@@ -621,6 +621,8 @@ class Line(metaclass=PoolMeta):
|
|||||||
fields.Char("Attributes Name"),
|
fields.Char("Attributes Name"),
|
||||||
'on_change_with_attributes_name'
|
'on_change_with_attributes_name'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
finished = fields.Boolean("Mark as finished")
|
||||||
|
|
||||||
@fields.depends('product')
|
@fields.depends('product')
|
||||||
def on_change_with_attribute_set(self, name=None):
|
def on_change_with_attribute_set(self, name=None):
|
||||||
|
|||||||
@@ -618,6 +618,7 @@ class SaleLine(metaclass=PoolMeta):
|
|||||||
'on_change_with_attributes_name'
|
'on_change_with_attributes_name'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
finished = fields.Boolean("Mark as finished")
|
||||||
pricing_rule = fields.Text("Pricing description")
|
pricing_rule = fields.Text("Pricing description")
|
||||||
price_composition = fields.One2Many('price.composition','sale_line',"Price composition")
|
price_composition = fields.One2Many('price.composition','sale_line',"Price composition")
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<newline/>
|
<newline/>
|
||||||
<label name="quantity_theorical"/>
|
<label name="quantity_theorical"/>
|
||||||
<field name="quantity_theorical"/>
|
<field name="quantity_theorical"/>
|
||||||
|
<label name="finished"/>
|
||||||
|
<field name="finished"/>
|
||||||
<newline/>
|
<newline/>
|
||||||
<label name="enable_linked_currency"/>
|
<label name="enable_linked_currency"/>
|
||||||
<field name="enable_linked_currency"/>
|
<field name="enable_linked_currency"/>
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<newline/>
|
<newline/>
|
||||||
<label name="quantity_theorical"/>
|
<label name="quantity_theorical"/>
|
||||||
<field name="quantity_theorical"/>
|
<field name="quantity_theorical"/>
|
||||||
|
<label name="finished"/>
|
||||||
|
<field name="finished"/>
|
||||||
<newline/>
|
<newline/>
|
||||||
<label name="enable_linked_currency"/>
|
<label name="enable_linked_currency"/>
|
||||||
<field name="enable_linked_currency"/>
|
<field name="enable_linked_currency"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user