[FIX] account,l10n_be: Fix accrual accounting wizard

- Remove the useless domain set on the field.
- Fix the belgium PCMN to work with accrual.

closes odoo/odoo#37560

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
Laurent Smet
2019-09-30 07:30:32 +00:00
parent cc3f0313a2
commit 223b338f49
2 changed files with 5 additions and 5 deletions
@@ -12,9 +12,9 @@
<group>
<field name="date" string="Recognize on"/>
<field name="expense_accrual_account" string="Accrued Account"
attrs="{'invisible': [('account_type', '!=', 'expense')], 'required': [('account_type', '=', 'expense')]}"
domain="[('internal_group', '=', 'asset'), ('reconcile', '=', True)]"/>
<field name="revenue_accrual_account" string="Accrued Account" attrs="{'invisible': [('account_type', '!=', 'income')], 'required': [('account_type', '=', 'income')]}"/>
attrs="{'invisible': [('account_type', '!=', 'expense')], 'required': [('account_type', '=', 'expense')]}"/>
<field name="revenue_accrual_account" string="Accrued Account"
attrs="{'invisible': [('account_type', '!=', 'income')], 'required': [('account_type', '=', 'income')]}"/>
</group>
<group>
<field name="percentage" string="Percent (%)"/>
@@ -54,7 +54,7 @@
"a370","Commandes en cours d'exécution","370","account.data_account_type_current_assets","l10n_be.l10nbe_chart_template","","False"
"a4000","Clients","4000","account.data_account_type_receivable","l10n_be.l10nbe_chart_template","","True"
"a4001","Clients (PoS)","4001","account.data_account_type_receivable","l10n_be.l10nbe_chart_template","","True"
"a404","Produits à recevoir","404","account.data_account_type_receivable","l10n_be.l10nbe_chart_template","","True"
"a404","Produits à recevoir","404","account.data_account_type_current_assets","l10n_be.l10nbe_chart_template","","True"
"a406","Acomptes versés","406","account.data_account_type_receivable","l10n_be.l10nbe_chart_template","","True"
"a407","Créances douteuses","407","account.data_account_type_receivable","l10n_be.l10nbe_chart_template","","True"
"a411059","T.V.A Déductible","4110","account.data_account_type_current_assets","l10n_be.l10nbe_chart_template","","False"
@@ -82,7 +82,7 @@
"a424","Autres emprunts","424","account.data_account_type_current_liabilities","l10n_be.l10nbe_chart_template","","False"
"a430","Etablissements de crédit. Emprunts en compte à terme fixe","430","account.data_account_type_current_liabilities","l10n_be.l10nbe_chart_template","","False"
"a440","Fournisseurs","440","account.data_account_type_payable","l10n_be.l10nbe_chart_template","","True"
"a444","Factures à recevoir","444","account.data_account_type_payable","l10n_be.l10nbe_chart_template","","True"
"a444","Factures à recevoir","444","account.data_account_type_current_liabilities","l10n_be.l10nbe_chart_template","","True"
"a446","Acomptes reçus","446","account.data_account_type_payable","l10n_be.l10nbe_chart_template","","True"
"a448","Compensations fournisseurs","448","account.data_account_type_payable","l10n_be.l10nbe_chart_template","","True"
"a4500","Dettes fiscales estimées","4500","account.data_account_type_current_liabilities","l10n_be.l10nbe_chart_template","","False"
1 id name code user_type_id/id chart_template_id/id tag_ids/id reconcile
54 a370 Commandes en cours d'exécution 370 account.data_account_type_current_assets l10n_be.l10nbe_chart_template False
55 a4000 Clients 4000 account.data_account_type_receivable l10n_be.l10nbe_chart_template True
56 a4001 Clients (PoS) 4001 account.data_account_type_receivable l10n_be.l10nbe_chart_template True
57 a404 Produits à recevoir 404 account.data_account_type_receivable account.data_account_type_current_assets l10n_be.l10nbe_chart_template True
58 a406 Acomptes versés 406 account.data_account_type_receivable l10n_be.l10nbe_chart_template True
59 a407 Créances douteuses 407 account.data_account_type_receivable l10n_be.l10nbe_chart_template True
60 a411059 T.V.A Déductible 4110 account.data_account_type_current_assets l10n_be.l10nbe_chart_template False
82 a424 Autres emprunts 424 account.data_account_type_current_liabilities l10n_be.l10nbe_chart_template False
83 a430 Etablissements de crédit. Emprunts en compte à terme fixe 430 account.data_account_type_current_liabilities l10n_be.l10nbe_chart_template False
84 a440 Fournisseurs 440 account.data_account_type_payable l10n_be.l10nbe_chart_template True
85 a444 Factures à recevoir 444 account.data_account_type_payable account.data_account_type_current_liabilities l10n_be.l10nbe_chart_template True
86 a446 Acomptes reçus 446 account.data_account_type_payable l10n_be.l10nbe_chart_template True
87 a448 Compensations fournisseurs 448 account.data_account_type_payable l10n_be.l10nbe_chart_template True
88 a4500 Dettes fiscales estimées 4500 account.data_account_type_current_liabilities l10n_be.l10nbe_chart_template False