05.03.26
This commit is contained in:
@@ -283,7 +283,7 @@ class Purchase(metaclass=PoolMeta):
|
||||
our_reference = fields.Char("Our Reference")
|
||||
company_visible = fields.Function(fields.Boolean("Visible"),'get_company_info')
|
||||
|
||||
def get_company_info(self):
|
||||
def get_company_info(self,name):
|
||||
return (self.company.party.name == 'MELYA')
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user