20.03.26
This commit is contained in:
@@ -623,6 +623,11 @@ class Line(metaclass=PoolMeta):
|
||||
)
|
||||
|
||||
finished = fields.Boolean("Mark as finished")
|
||||
|
||||
@classmethod
|
||||
def default_finished(cls):
|
||||
return False
|
||||
|
||||
|
||||
@fields.depends('product')
|
||||
def on_change_with_attribute_set(self, name=None):
|
||||
|
||||
@@ -622,6 +622,10 @@ class SaleLine(metaclass=PoolMeta):
|
||||
pricing_rule = fields.Text("Pricing description")
|
||||
price_composition = fields.One2Many('price.composition','sale_line',"Price composition")
|
||||
|
||||
@classmethod
|
||||
def default_finished(cls):
|
||||
return False
|
||||
|
||||
@property
|
||||
def report_fixing_rule(self):
|
||||
pricing_rule = ''
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<form>
|
||||
<field name="metabase" widget="html_viewer" height="2800"/>
|
||||
<field name="metabase"/>
|
||||
<!-- <field name="metabase" widget="html_viewer" height="2800"/> -->
|
||||
</form>
|
||||
Reference in New Issue
Block a user