diff options
| author | Goffin Simon <sig@odoo.com> | 2021-04-15 09:09:31 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2021-04-15 09:09:31 +0000 |
| commit | bacfea994ce7232af33d7e5525a5b56d5cba5871 (patch) | |
| tree | fef834a2528c0fa44752b406763ace2b13b0aa76 /addons/account/views | |
| parent | ae16e47944bdfaa5c044b6c76a1102f9f2f525a1 (diff) | |
[FIX] account: Impossible to create account type
Steps to reproduce the bug:
- Go to Accounting>Journals and create new record
- In advanced settings tab, use 'Allowed Account Types' field to create a new one
Bug:
Form for account type does not have required internal_group
Introduced by https://github.com/odoo/odoo/commit/5aeec0c3dcd8aa20293167073f3f4f5cec323b74
opw:2497616
closes odoo/odoo#69169
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/account/views')
| -rw-r--r-- | addons/account/views/account_journal_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/views/account_journal_views.xml b/addons/account/views/account_journal_views.xml index 03a3938509e..abdf5380965 100644 --- a/addons/account/views/account_journal_views.xml +++ b/addons/account/views/account_journal_views.xml @@ -100,7 +100,7 @@ <group> <group string="Control-Access" groups="account.group_account_manager"> <div class="text-muted" colspan="2">Keep empty for no control</div> - <field name="type_control_ids" widget="many2many_tags"/> + <field name="type_control_ids" widget="many2many_tags" options="{'no_create': True}"/> <field name="account_control_ids" widget="many2many_tags"/> <field name="restrict_mode_hash_table" groups="account.group_account_readonly" attrs="{'invisible': [('type', 'in', ['bank', 'cash'])]}"/> </group> |
