diff options
| author | Pratima Gupta <pgu@odoo.com> | 2020-03-31 12:04:28 +0000 |
|---|---|---|
| committer | Ravi Gohil <rgo@odoo.com> | 2020-04-01 14:23:20 +0000 |
| commit | 2c93b994f240261461d08df228f82d9a3e361ae5 (patch) | |
| tree | bf3f732e3eedd0a5104f5694f010ab73c6be0239 /addons/l10n_cn | |
| parent | 6f1bb03903a33697cff04e42141bf4d3ec261e41 (diff) | |
[IMP] l10n_xx: use country_code field
l10n_latam_country_code field is no more needed for account.move
object thanks to commit 7edb5c11
Also, since country_code field has been defined in view_move_form,
no need to redefine it when it is inherited in l10n_cn module.
closes odoo/odoo#48719
Task: 2228210
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/l10n_cn')
| -rw-r--r-- | addons/l10n_cn/views/account_move_view.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/l10n_cn/views/account_move_view.xml b/addons/l10n_cn/views/account_move_view.xml index 9f55c2c31cb..7febad430df 100644 --- a/addons/l10n_cn/views/account_move_view.xml +++ b/addons/l10n_cn/views/account_move_view.xml @@ -7,7 +7,6 @@ <field name="inherit_id" ref="account.view_move_form"/> <field name="arch" type="xml"> <xpath expr="//field[@name='ref']" position="after"> - <field name="country_code" invisible='1'/> <field name="move_type" invisible='1'/> <field name="fapiao" attrs="{'invisible': ['|', ('country_code','!=', 'CN'), ('move_type', 'not in', ['out_invoice', 'out_refund', 'in_invoice', 'in_refund'])]}"/> |
