Merge pull request #2952 from expsa/younes_dev_odex25_accounting
Correct groups assigned to asset buttons
This commit is contained in:
commit
2f8ec5468a
|
|
@ -296,13 +296,13 @@
|
|||
<field name="inherit_id" ref="exp_asset_custody.view_account_asset_multi_transfer_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='act_confirm']" position="attributes">
|
||||
<attribute name="groups">hr_expense_petty_cash.group_assets_manager</attribute>
|
||||
<attribute name="groups">exp_asset_base.group_assets_manager</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='act_reject']" position="attributes">
|
||||
<attribute name="groups">hr_expense_petty_cash.group_assets_manager</attribute>
|
||||
<attribute name="groups">exp_asset_base.group_assets_manager</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='act_draft']" position="attributes">
|
||||
<attribute name="groups">hr_expense_petty_cash.group_assets_manager</attribute>
|
||||
<attribute name="groups">exp_asset_base.group_assets_manager</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -312,13 +312,13 @@
|
|||
<field name="inherit_id" ref="exp_asset_custody.view_account_asset_operation_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='act_confirm']" position="attributes">
|
||||
<attribute name="groups">hr_expense_petty_cash.group_assets_manager</attribute>
|
||||
<attribute name="groups">exp_asset_base.group_assets_manager</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='act_reject']" position="attributes">
|
||||
<attribute name="groups">hr_expense_petty_cash.group_assets_manager</attribute>
|
||||
<attribute name="groups">exp_asset_base.group_assets_manager</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='act_draft']" position="attributes">
|
||||
<attribute name="groups">hr_expense_petty_cash.group_assets_manager</attribute>
|
||||
<attribute name="groups">exp_asset_base.group_assets_manager</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
|
|
@ -444,8 +444,8 @@ msgstr "المرفق الرئيسي"
|
|||
|
||||
#. module: hr_expense_petty_cash
|
||||
#: model:ir.model.fields,field_description:hr_expense_petty_cash.field_hr_expense_sheet__parent_id
|
||||
#: model:res.groups,name:hr_expense_petty_cash.group_assets_manager
|
||||
#: model:res.groups,name:hr_expense_petty_cash.group_petty_cash_manager
|
||||
#: model:res.groups,name:exp_asset_base.group_assets_manager
|
||||
#: model:res.groups,name:exp_asset_base.group_petty_cash_manager
|
||||
msgid "Manager"
|
||||
msgstr "المدير"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue