15.03.26
This commit is contained in:
@@ -288,6 +288,7 @@ class Purchase(metaclass=PoolMeta):
|
||||
our_reference = fields.Char("Our Reference")
|
||||
company_visible = fields.Function(fields.Boolean("Visible"),'get_company_info')
|
||||
lc_date = fields.Date("LC date")
|
||||
product_origin = fields.Char("Origin")
|
||||
|
||||
def get_company_info(self,name):
|
||||
return (self.company.party.name == 'MELYA')
|
||||
|
||||
Reference in New Issue
Block a user