Merge pull request #2952 from expsa/younes_dev_odex25_accounting

Correct groups assigned to asset buttons
This commit is contained in:
kchyounes19 2025-05-04 10:15:30 +01:00 committed by GitHub
commit 2f8ec5468a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -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>

View File

@ -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 "المدير"