[MOD/IMP] account,account_analytic_default : Usebility Improvement In Icon and View

bzr revid: amp@tinyerp.com-20101027070249-kkykhd7o77xutn34
This commit is contained in:
AMP (OpenERP) 2010-10-27 12:32:49 +05:30
parent 8f05db27a9
commit 8e4c5ee897
3 changed files with 6 additions and 6 deletions

View File

@ -33,8 +33,8 @@
<separator colspan="4" string="States"/> <separator colspan="4" string="States"/>
<group> <group>
<field name="state" select="1" readonly="1"/> <field name="state" select="1" readonly="1"/>
<button name="create_period" states="draft" string="Create Monthly Periods" type="object" icon="gtk-dnd"/> <button name="create_period" states="draft" string="Create Monthly Periods" type="object" icon="terp-document-new"/>
<button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" icon="gtk-dnd"/> <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" icon="terp-document-new"/>
</group> </group>
</form> </form>
</field> </field>
@ -207,7 +207,7 @@
</group> </group>
<newline/> <newline/>
<group expand="0" string="Group By..."> <group expand="0" string="Group By...">
<filter string="Parent Account" icon="terp-folder-green" domain="" context="{'group_by':'parent_id'}"/> <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<filter string="Account Type" icon="terp-folder-blue" domain="" context="{'group_by':'user_type'}"/> <filter string="Account Type" icon="terp-folder-blue" domain="" context="{'group_by':'user_type'}"/>
<filter string="Internal Type" icon="terp-folder-yellow" domain="" context="{'group_by':'type'}"/> <filter string="Internal Type" icon="terp-folder-yellow" domain="" context="{'group_by':'type'}"/>

View File

@ -214,7 +214,7 @@
</group> </group>
<newline/> <newline/>
<group string="Group By..." expand="0"> <group string="Group By..." expand="0">
<filter string="Account" context="{'group_by':'account_id'}" groups="base.group_extended" icon="terp-folder-blue"/> <filter string="Account" context="{'group_by':'account_id'}" groups="base.group_extended" icon="terp-folder-green"/>
<filter string="Journal" context="{'group_by':'journal_id'}" icon="terp-folder-orange"/> <filter string="Journal" context="{'group_by':'journal_id'}" icon="terp-folder-orange"/>
<filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/> <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
@ -312,7 +312,7 @@
</group> </group>
<newline/> <newline/>
<group expand="0" string="Group By..."> <group expand="0" string="Group By...">
<filter string="Type" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'type'}"/> <filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
</group> </group>
</search> </search>
</field> </field>

View File

@ -45,7 +45,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Accounts"> <search string="Accounts">
<group col="10" colspan="4"> <group col="10" colspan="4">
<filter icon="terp-go-month" string="Current" name = "current" help="Analytical defaults whose end date is greater then today or None" domain = "['|', ('date_stop', '&gt;', datetime.date.today().strftime('%%Y-%%m-%%d')), ('date_stop', '=', False)]" /> <filter icon="terp-go-month" string="Current" name = "current" help="Analytical defaults whose end date is greater than today or None" domain = "['|', ('date_stop', '&gt;', datetime.date.today().strftime('%%Y-%%m-%%d')), ('date_stop', '=', False)]" />
<separator orientation="vertical"/> <separator orientation="vertical"/>
<field name="analytic_id" groups="analytic.group_analytic_accounting"/> <field name="analytic_id" groups="analytic.group_analytic_accounting"/>
<field name="product_id"/> <field name="product_id"/>