[FIX] base: "update terms" should be available only on active languages
Else it leads to tracebacks
related to rev 5aa459a18e
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
<field name="translatable"/>
|
||||
<field name="active"/>
|
||||
<button name="%(base.action_wizard_update_translations)d"
|
||||
string="Update Terms" type="action" icon="gtk-ok" help="Update Language Terms"/>
|
||||
string="Update Terms" type="action" icon="gtk-ok" help="Update Language Terms"
|
||||
attrs="{'invisible': [('active', '=', False)]}"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user