26.03.26
This commit is contained in:
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user