Add new patch to hide 'active' field in taxes tree views.

(grafted from 4e8359e104ab8429fb2e34c522528a47c1b285ac)
This commit is contained in:
Albert Cervera i Areny 2016-04-26 16:51:12 +02:00
parent 1eded82819
commit 5045c5ca09
2 changed files with 21 additions and 0 deletions

1
series
View File

@ -27,6 +27,7 @@ analytic_account.diff
analytic_invoice.diff
analytic_sale.diff
analytic_purchase.diff
tax_active_invisible.diff
# Ignore next patches
#incremental_wait_in_retries.diff

20
tax_active_invisible.diff Normal file
View File

@ -0,0 +1,20 @@
diff -r e09ed092a99d view/tax_code_list.xml
--- a/trytond/trytond/modules/account/view/tax_code_list.xml Sat Apr 02 15:59:02 2016 +0200
+++ b/trytond/trytond/modules/account/view/tax_code_list.xml Tue Apr 26 16:35:50 2016 +0200
@@ -5,5 +5,5 @@
<field name="name"/>
<field name="code"/>
<field name="company"/>
- <field name="active"/>
+ <field name="active" tree_invisible="1"/>
</tree>
diff -r e09ed092a99d view/tax_list.xml
--- a/trytond/trytond/modules/account/view/tax_list.xml Sat Apr 02 15:59:02 2016 +0200
+++ b/trytond/trytond/modules/account/view/tax_list.xml Tue Apr 26 16:35:50 2016 +0200
@@ -5,5 +5,5 @@
<field name="name"/>
<field name="group"/>
<field name="type"/>
- <field name="active"/>
+ <field name="active" tree_invisible="1"/>
</tree>