Skip to content

Commit

Permalink
[FIX] account: Impossible to create account type
Browse files Browse the repository at this point in the history
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 odoo@5aeec0c

opw:2497616

closes odoo#69169

Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
  • Loading branch information
simongoffin committed Apr 15, 2021
1 parent ae16e47 commit bacfea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/views/account_journal_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bacfea9

Please sign in to comment.