Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] account_cashbox_l10n_latam_check: modify the
view_l10n_latam_payment_mass_transfer_form in order to add permission to account.group_account_invoice closes #461 Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
account_cashbox_l10n_latam_check/views/account_payment_view.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<odoo> | ||
|
||
<!-- Third party check Views and menus --> | ||
|
||
<record model="ir.ui.view" id="view_account_third_party_check_tree"> | ||
<field name="name">account.check.tree</field> | ||
<field name="model">account.payment</field> | ||
<field name="inherit_id" ref="l10n_latam_check.view_account_third_party_check_tree"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//header/button[@name='%(l10n_latam_check.action_view_l10n_latam_payment_mass_transfer)d']" position="attributes"> | ||
<attribute name="groups" separator="," add="account.group_account_invoice"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
|
||
</odoo> |