Skip to content

Commit

Permalink
[FIX] l10n_ar_ux: related to recent check module update
Browse files Browse the repository at this point in the history
  • Loading branch information
jjscarafia committed Aug 1, 2022
1 parent 20f535d commit 1a572a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l10n_ar_ux/__manifest__.py
@@ -1,6 +1,6 @@
{
'name': 'Argentinian Accounting UX',
'version': "15.0.1.7.0",
'version': "15.0.1.8.0",
'category': 'Localization/Argentina',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down
4 changes: 2 additions & 2 deletions l10n_ar_ux/views/account_payment_view.xml
Expand Up @@ -21,9 +21,9 @@
<button name="action_mark_sent" class="oe_highlight" attrs="{'invisible': ['|', '|', '|', ('payment_method_code', '!=', 'check_printing'), ('state', '!=', 'posted'), ('is_move_sent', '=', True), ('l10n_latam_check_printing_type', '!=', 'no_print')]}" string="Mark Sent" type="object"/>
</button>

<xpath expr="//field[@name='check_number'][2]" position="attributes">
<field name="l10n_latam_check_number" position="attributes">
<attribute name="attrs">{'invisible': ['|', ('payment_method_code', '!=', 'check_printing'), ('check_number', '=', False), ('l10n_latam_check_printing_type', '!=', 'no_print')], 'readonly': ['|', ('state', '!=', 'draft'), ('l10n_latam_check_printing_type', '!=', 'no_print')], 'required': [('l10n_latam_check_printing_type', '=', 'no_print')]}</attribute>
</xpath>
</field>

</field>
</record>
Expand Down

0 comments on commit 1a572a9

Please sign in to comment.