[IMP]: Improve view

bzr revid: atp@tinyerp.com-20120613080257-gh8wydqnum6c9h46
This commit is contained in:
Atul Patel (OpenERP) 2012-06-13 13:32:57 +05:30
parent a266145cec
commit a2167e7184
3 changed files with 3 additions and 10 deletions

View File

@ -17,7 +17,7 @@
<field name="arch" type="xml">
<form string="Configure Accounting" version="7.0">
<header>
<button string="Apply" type="object" name="execute"/>
<button string="Apply" type="object" name="execute" class="oe_form_button_active_flow"/>
<button string="Cancel" special="cancel"/>
</header>
<group string="Accounting Details of Company" col="4">
@ -32,7 +32,6 @@
<field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
<button string="Install More Chart Templates" icon="gtk-go-forward"
name="%(open_account_charts_modules)d" type="action"/>
<newline/>
<field name="code_digits" groups="account.group_account_user"/>
<field name="seq_journal"/>
<newline/>
@ -53,18 +52,14 @@
</group>
<field name="complete_tax_set" invisible="1"/>
<group string="Accounting Configuration">
<group colspan="" col="2">
<group colspan="" col="2" string="Accounting Configuration">
<field name="default_sale_tax" domain="[('type_tax_use','=','sale'), ('company_id','=',company_id)]" attrs="{'invisible': [('has_chart_of_accounts','=',False)]}"/>
<field name="module_account_accountant"/>
<field name="module_account_asset"/>
</group>
<group>
<field name="default_purchase_tax" domain="[('type_tax_use','=','purchase'), ('company_id','=',company_id)]" attrs="{'invisible': [('has_chart_of_accounts','=',False)]}"/>
<field name="currency_id"/>
<field name="module_account_budget"/>
<field name="decimal_precision"/>
</group>
</group>
<field name="sale_journal_id" invisible="1"/>

View File

@ -47,7 +47,7 @@
<group name="config_sale" colspan="4"/>
<!-- this part is necessary to allow the plugins to extend the view -->
<field name="module_crm" invisible="1"/>
<group name="config_fetchmail" colspan="2" attrs="{'invisible': [('module_crm','=',False)]}">
<group name="config_fetchmail" colspan="4" attrs="{'invisible': [('module_crm','=',False)]}">
<separator string="Emails"/>
</group>
<newline/>

View File

@ -9,7 +9,6 @@
<field name="inherit_id" ref="base.view_sale_config_settings"/>
<field name="arch" type="xml">
<group name="config_sale" position="after">
<group >
<separator string="Sale Order" colspan="4"/>
<field name="group_uom"/>
<field name="default_picking_policy" attrs="{'invisible':[('group_invoice_deli_orders','=',False)]}"/>
@ -40,7 +39,6 @@
<field name="module_account_analytic_analysis" on_change="onchange_timesheet(module_account_analytic_analysis)"/>
<field name="module_analytic_user_function" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"/>
<field name="module_analytic_journal_billing_rate" attrs="{'invisible':[('module_account_analytic_analysis','=',False)]}"/>
</group>
</group>
</field>
</record>