This commit is contained in:
2026-03-26 18:28:43 +01:00
parent 3e5320cf9e
commit 91acaba3dc
3 changed files with 1086 additions and 1130 deletions

View File

@@ -4,6 +4,7 @@ this repository contains the full copyright notices and license terms. -->
<tree editable="1">
<field name="move"/>
<field name="account" expand="1"/>
<field name="ext_ref" expand="1" optional="1"/>
<field name="party" expand="1"/>
<field name="debit" sum="1"/>
<field name="credit" sum="1"/>
@@ -12,6 +13,5 @@ this repository contains the full copyright notices and license terms. -->
<field name="rate" optional="1"/>
<field name="tax_lines" optional="1"/>
<field name="description_used" expand="1" optional="1"/>
<field name="ext_ref" expand="1" optional="1"/>
<field name="reconciliation" optional="1"/>
</tree>

File diff suppressed because it is too large Load Diff

View File

@@ -58,6 +58,20 @@ class Invoice(metaclass=PoolMeta):
return sale.report_shipment
return self.description or ''
@property
def report_trader_initial(self):
sale = self._get_report_sale()
if sale and sale.trader:
return self.trader.initial
return ''
@property
def report_operator_initial(self):
sale = self._get_report_sale()
if sale and sale.operator:
return self.operator.initial
return ''
@property
def report_product_description(self):
line = self._get_report_sale_line()