This commit is contained in:
2026-03-26 20:31:45 +01:00
parent 51778bda9e
commit e2bbd0e522
3 changed files with 84 additions and 58 deletions

View File

@@ -79,6 +79,13 @@ class Invoice(metaclass=PoolMeta):
if trade and getattr(trade, 'trader', None):
return trade.trader.initial or ''
return ''
@property
def report_origin(self):
trade = self._get_report_trade()
if trade and getattr(trade, 'product_origin', None):
return trade.product_origin or ''
return ''
@property
def report_operator_initial(self):