main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 3212d551d2 - Show all commits

View File

@@ -283,7 +283,7 @@ class Purchase(metaclass=PoolMeta):
our_reference = fields.Char("Our Reference") our_reference = fields.Char("Our Reference")
company_visible = fields.Function(fields.Boolean("Visible"),'get_company_info') 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') return (self.company.party.name == 'MELYA')
@classmethod @classmethod