This commit is contained in:
2026-03-11 21:14:53 +01:00
parent 0b1bb2ffa5
commit b23dba865f
3 changed files with 15 additions and 11 deletions

View File

@@ -260,6 +260,7 @@ class Sale(metaclass=PoolMeta):
our_reference = fields.Char("Our Reference")
company_visible = fields.Function(fields.Boolean("Visible"),'get_company_info')
lc_date = fields.Date("LC date")
origin = fields.Char("Origin")
def get_company_info(self,name):
return (self.company.party.name == 'MELYA')

View File

@@ -35,6 +35,9 @@ this repository contains the full copyright notices and license terms. -->
<field name="incoterm"/>
<label name="incoterm_location"/>
<field name="incoterm_location"/>
<newline/>
<label name="origin"/>
<field name="origin"/>
</xpath>
<xpath expr="/form/notebook/page[@id='sale']" position="after">
<page string="Derivative" col="4" id="der">