-
Notifications
You must be signed in to change notification settings - Fork 102
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
- Loading branch information
Showing
3 changed files
with
27 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
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
18 changes: 18 additions & 0 deletions
18
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,18 @@ | ||
<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"> | ||
<tree position="inside"> | ||
<xpath expr="//header/button[@name='%(l10n_latam_check.action_view_l10n_latam_payment_mass_transfer)d']" position="replace"> | ||
<button name="%(l10n_latam_check.action_view_l10n_latam_payment_mass_transfer)d" type="action" string="Check Transfer" groups="account.group_account_invoice"/> | ||
</xpath> | ||
</tree> | ||
</field> | ||
</record> | ||
|
||
</odoo> |