File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 "category" : "Localization" ,
99 "countries" : ["uy" ],
1010 "license" : "LGPL-3" ,
11- "version" : "19.0.1.2 .0" ,
11+ "version" : "19.0.1.3 .0" ,
1212 "depends" : [
1313 "l10n_uy_edi" ,
1414 "certificate" ,
15+ "account_ux" ,
1516 ],
1617 "data" : [
1718 "data/l10n_latam.document.type.csv" ,
Original file line number Diff line number Diff line change 6565 </field >
6666 </record >
6767
68+ <record id =" view_move_form_inherit_hide_currency_button" model =" ir.ui.view" >
69+ <field name =" name" >account.move.form.hide.currency.button</field >
70+ <field name =" model" >account.move</field >
71+ <field name =" inherit_id" ref =" account_ux.view_move_form" />
72+ <field name =" arch" type =" xml" >
73+ <!-- Hide the change currency button for Uruguay -->
74+ <button name =' %(account_ux.action_account_change_currency)d' position =" attributes" >
75+ <attribute name =" invisible" add =" company_id.country_code != 'UY'" separator =" or" />
76+ </button >
77+ <!-- Hide the currency date picker widget for Uruguay -->
78+ <widget name =" account_pick_currency_date" position =" attributes" >
79+ <attribute name =" invisible" add =" company_id.country_code != 'UY'" separator =" or" />
80+ </widget >
81+ </field >
82+ </record >
83+
6884</odoo >
You can’t perform that action at this time.
0 commit comments