Add compatibility with aeat_340
This commit is contained in:
parent
6ceb01d8a2
commit
0bb6fa874e
|
@ -182,9 +182,10 @@ class Invoice:
|
|||
|
||||
class InvoiceLine:
|
||||
__name__ = 'account.invoice.line'
|
||||
# Excluce aeat340_book_key to force to calculate it on create
|
||||
_intercompany_excluded_fields = ['id', 'account', 'taxes', 'origin',
|
||||
'party', 'invoice_type', 'company', 'create_date', 'create_uid',
|
||||
'write_date', 'write_uid', 'intercompany_account']
|
||||
'write_date', 'write_uid', 'intercompany_account', 'aeat340_book_key']
|
||||
|
||||
intercompany_invoice = fields.Function(fields.Boolean(
|
||||
'Intercompany Invoice'),
|
||||
|
|
|
@ -3,5 +3,7 @@ version=3.4.0
|
|||
depends:
|
||||
account_invoice
|
||||
company_account_sync
|
||||
extras_depend:
|
||||
aeat_340
|
||||
xml:
|
||||
invoice.xml
|
||||
|
|
Loading…
Reference in New Issue