[IMP] purchase.config.settings: improve view

bzr revid: rco@openerp.com-20120322111615-q0abngrixvpk0wou
This commit is contained in:
Raphael Collet 2012-03-22 12:16:15 +01:00
parent fe31238077
commit 65cf574825
1 changed files with 29 additions and 37 deletions

View File

@ -6,57 +6,49 @@
<field name="model">purchase.config.settings</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Purchase Application">
<separator string="Default Invoicing Control" colspan="4"/>
<group colspan="2" col="4">
<field name="default_invoice_method" />
</group>
<form string="Purchase Application">
<separator string="Invoicing" colspan="4"/>
<field name="default_invoice_method" />
<separator string="Purchase Order" colspan="4"/>
<group colspan="4" col="8" name="Purchase_order">
<group colspan="4" col="4">
<field name="group_purchase_pricelist_per_supplier"/>
<newline/>
<group col="2" colspan="1">
<field name="tax_policy" on_change="onchange_tax_policy(tax_policy)"/>
</group>
<separator string="Purchase Order" colspan="4"/>
<group colspan="2" col="2">
<field name="group_purchase_pricelist_per_supplier"/>
<field name="tax_policy" on_change="onchange_tax_policy(tax_policy)"/>
<field name="group_purchase_taxes_global_on_order" invisible="1"/>
<field name="group_purchase_taxes_on_order_line" invisible="1"/>
<newline/>
<field name="module_warning"/>
<newline/>
<field name="module_purchase_analytic_plans"/>
<newline/>
</group>
<group colspan="4" col="4">
<newline/>
<field name="group_sale_uom_per_product"/>
<newline/>
<field name="module_purchase_double_validation"/>
<newline/>
<field name="module_purchase_requisition"/>
<newline/>
</group>
</group>
<field name="module_warning"/>
<field name="module_purchase_analytic_plans"/>
</group>
<group colspan="4" col="4">
<field name="group_sale_uom_per_product"/>
<newline/>
<field name="module_purchase_double_validation"/>
<newline/>
<field name="module_purchase_requisition"/>
<newline/>
</group>
<separator string="Products" colspan="4"/>
<group colspan="4" col="4">
<separator string="Products" colspan="4"/>
<field name="module_product_manufacturer"/>
</group>
</form>
<newline/>
<label colspan="2"/>
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
<button string="Apply" icon="gtk-ok" type="object" name="execute"/>
</form>
</field>
</record>
<record id="action_purchase_configuration" model="ir.actions.act_window">
<field name="name">Configure Purchase Application</field>
<field name="name">Configure Purchases</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">purchase.config.settings</field>
<field name="view_id" ref="view_purchase_configuration"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem id="menu_purchse_config" name="Purchase" parent="base.menu_config" sequence="1" action="action_purchase_configuration"/>
<menuitem id="menu_purchase_config" name="Purchase" parent="base.menu_config"
sequence="2" action="action_purchase_configuration"/>
</data>
</openerp>