Add groups to create dunning wizard
The wizard is not linked to a model nor records, so the access must be enforced explicitly to some groups. issue10766 review338941002
This commit is contained in:
+10
@@ -285,6 +285,16 @@ this repository contains the full copyright notices and license terms. -->
|
||||
action="wizard_dunning_create"
|
||||
id="menu_dunning_create"/>
|
||||
|
||||
<record model="ir.action-res.group" id="wizard_dunning_create-group_account_admin">
|
||||
<field name="action" ref="wizard_dunning_create"/>
|
||||
<field name="group" ref="account.group_account_admin"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.action-res.group" id="wizard_dunning_create-group_dunning">
|
||||
<field name="action" ref="wizard_dunning_create"/>
|
||||
<field name="group" ref="group_dunning"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="dunning_process_start_view_form">
|
||||
<field name="model">account.dunning.process.start</field>
|
||||
<field name="type">form</field>
|
||||
|
||||
Reference in New Issue
Block a user