diff options
| author | Parth Choksi <pch@odoo.com> | 2019-05-27 12:12:21 +0000 |
|---|---|---|
| committer | Parth Choksi <pch@odoo.com> | 2019-05-27 12:45:51 +0000 |
| commit | e20c81efcde7316454810e0bc4e9946f776c73b5 (patch) | |
| tree | 199adefc157c205f08ffe619ab2d3310c4bf6b86 | |
| parent | 7a93f82bc94e39d45768cb32e4c41c75a0bcf0cd (diff) | |
[FIX] l10n_ch: traceback when installing module
Getting traceback when installing the l10n_ch module.
In the form view of journal, the field "l10n_ch_postal" is added using the xpath.
However the field provided in the expression of xpath('bank_acc_number') doesn't
seem to exist anymore in the form view of account journal.
Hence, it is replaced with the existing field('bank_account_id') in form view
of journal.
task-1999654
closes odoo/odoo#33702
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
| -rw-r--r-- | addons/l10n_ch/views/res_bank_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_ch/views/res_bank_view.xml b/addons/l10n_ch/views/res_bank_view.xml index df3919186ab..90329ee4813 100644 --- a/addons/l10n_ch/views/res_bank_view.xml +++ b/addons/l10n_ch/views/res_bank_view.xml @@ -29,7 +29,7 @@ <field name="model">account.journal</field> <field name="inherit_id" ref="account.view_account_journal_form"/> <field name="arch" type="xml"> - <xpath expr="//field[@name='bank_acc_number']" position="after"> + <xpath expr="//field[@name='bank_account_id']" position="after"> <field name="l10n_ch_postal" attrs="{'invisible': [('type', 'not in', ['bank', 'cash'])]}"/> </xpath> </field> |
