This commit is contained in:
2026-02-26 20:21:42 +01:00
parent 399d9da9e5
commit a724e0a086
2 changed files with 44 additions and 22 deletions

View File

@@ -27,6 +27,14 @@ class Sale(metaclass=PoolMeta):
invoice.save()
return invoice
@property
def report_agent(self):
if self.agent:
return self.agent.party.address_get(
type='invoice')
else:
return ''
@classmethod
@ModelView.button
@Workflow.transition('quotation')