Skip to content

Commit

Permalink
[11.0][IMP]l10n_be_invoice_bba_supplier
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-demeyer committed Nov 12, 2019
1 parent ac98a6e commit d9ed327
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 82 deletions.
1 change: 0 additions & 1 deletion l10n_be_invoice_bba_supplier/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from . import models
3 changes: 2 additions & 1 deletion l10n_be_invoice_bba_supplier/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
'name': 'Supplier payment with Belgian structured communication',
'version': '11.0.1.0.0',
'version': '11.0.1.2.0',
'category': 'Accounting & Finance',
'website': 'https://www.noviat.com',
'author': 'Noviat',
Expand All @@ -12,6 +12,7 @@
'views/account_invoice.xml',
],
'depends': [
'account_supplier_invoice_number',
'l10n_be_invoice_bba',
],
'installable': True,
Expand Down
1 change: 0 additions & 1 deletion l10n_be_invoice_bba_supplier/models/__init__.py

This file was deleted.

72 changes: 0 additions & 72 deletions l10n_be_invoice_bba_supplier/models/account_invoice.py

This file was deleted.

15 changes: 8 additions & 7 deletions l10n_be_invoice_bba_supplier/views/account_invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="arch" type="xml">
<data>
<field name="currency_id" position="after">
<field name="supplier_payment_ref_type"/>
<field name="supplier_payment_ref"
attrs="{'required': [('supplier_payment_ref_type', '=', 'bba')]}"/>
</field>
</data>
<field name="reference_type" position="attributes">
<attribute name="string">Communication Type</attribute>
<attribute name="help">Payment Communication Type</attribute>
</field>
<field name="reference" position="attributes">
<attribute name="string">Communication</attribute>
<attribute name="help">Payment Communication</attribute>
</field>
</field>
</record>

Expand Down

0 comments on commit d9ed327

Please sign in to comment.