summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorqdp-launchpad@tinyerp.com <>2010-09-13 16:12:23 +0200
committerqdp-launchpad@tinyerp.com <>2010-09-13 16:12:23 +0200
commit9ea06c8c01751dbbcf2094ebff104257a15e6ac9 (patch)
tree2eeadc3789c801ecfdf17548b41d783e6f75b852 /addons
parent41c56fa6361c2cbb2555c31f6d9f5fd8c665095a (diff)
[IMP] account usability improvements
bzr revid: qdp-launchpad@tinyerp.com-20100913141223-lzjnb08tev0prv1h
Diffstat (limited to 'addons')
-rw-r--r--addons/account/account_view.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 00e4bf7ab3b..2fabc21d60f 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -334,8 +334,8 @@
<tree string="Account Journal">
<field name="code"/>
<field name="name"/>
- <field name="type" invisible="1"/>
- <field name="user_id" invisible="1"/>
+ <field name="type"/>
+ <field name="user_id"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
</field>
@@ -347,12 +347,14 @@
<field name="arch" type="xml">
<tree string="Search Account Journal">
<group>
- <filter domain="[('type', '=', 'sale')]" string="Sale Journals" icon="terp-sale"/>
- <filter domain="[('type', '=', 'purchase')]" string="Purchase Journals" icon="terp-purchase"/>
- <filter domain="[('centralisation', '=', 'True')]" string="Centralized Journals" icon="terp-stock"/>
+ <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Customer Journals" icon="terp-sale"/>
+ <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Vendor Journals" icon="terp-purchase"/>
+ <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity Journals" icon="terp-dolar"/>
+ <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Global Journals" icon="terp-stock"/>
<separator orientation="vertical"/>
<field name="code"/>
<field name="name"/>
+ <field name="user_id"/>
</group>
<newline/>
<group expand="0" string="Group By...">