Skip to content

Commit 925260e

Browse files
committed
[FIX]l10n_uy_ux: Adjust account move view for better UX in Uruguay
1 parent 1fb4f7f commit 925260e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

l10n_uy_ux/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"category": "Localization",
99
"countries": ["uy"],
1010
"license": "LGPL-3",
11-
"version": "19.0.1.3.0",
11+
"version": "19.0.1.4.0",
1212
"depends": [
1313
"l10n_uy_edi",
1414
"certificate",

l10n_uy_ux/views/account_move_views.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
<field name="arch" type="xml">
7373
<!-- Hide the change currency button for Uruguay -->
7474
<button name='%(account_ux.action_account_change_currency)d' position="attributes">
75-
<attribute name="invisible" add="company_id.country_code != 'UY'" separator="or"/>
75+
<attribute name="invisible" add="country_code == 'UY'" separator="or"/>
7676
</button>
7777
<!-- Hide the currency date picker widget for Uruguay -->
7878
<widget name="account_pick_currency_date" position="attributes">
79-
<attribute name="invisible" add="company_id.country_code != 'UY'" separator="or"/>
79+
<attribute name="invisible" add="country_code == 'UY'" separator="or"/>
8080
</widget>
8181
</field>
8282
</record>

0 commit comments

Comments
 (0)