2012-08-03 12:46:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-03-05 09:09:23 +00:00
|
|
|
<openerp>
|
2012-08-04 21:53:27 +00:00
|
|
|
<data noupdate="1">
|
|
|
|
<!-- After installation of the module, open the related menu -->
|
|
|
|
<record id="action_client_purchase_menu" model="ir.actions.client">
|
|
|
|
<field name="name">Open Purchase Menu</field>
|
|
|
|
<field name="tag">reload</field>
|
|
|
|
<field name="params" eval="{'menu_id': ref('base.menu_purchase_root')}"/>
|
|
|
|
</record>
|
2012-09-16 11:42:49 +00:00
|
|
|
<record id="base.open_menu" model="ir.actions.todo">
|
2012-08-04 21:53:27 +00:00
|
|
|
<field name="action_id" ref="action_client_purchase_menu"/>
|
2012-09-16 11:42:49 +00:00
|
|
|
<field name="state">open</field>
|
2012-08-04 21:53:27 +00:00
|
|
|
</record>
|
|
|
|
</data>
|
2012-03-05 09:09:23 +00:00
|
|
|
<data>
|
2012-03-06 05:54:01 +00:00
|
|
|
<record id="view_purchase_configuration" model="ir.ui.view">
|
2012-03-27 11:39:38 +00:00
|
|
|
<field name="name">purchase settings</field>
|
2012-03-22 11:03:58 +00:00
|
|
|
<field name="model">purchase.config.settings</field>
|
2012-03-05 09:09:23 +00:00
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Configure Purchases" class="oe_form_configuration">
|
2012-06-04 12:11:39 +00:00
|
|
|
<header>
|
2012-06-29 08:30:24 +00:00
|
|
|
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
2012-06-27 14:50:49 +00:00
|
|
|
or
|
|
|
|
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
|
2012-06-04 12:11:39 +00:00
|
|
|
</header>
|
2012-07-30 12:02:40 +00:00
|
|
|
<separator string="Invoicing Process"/>
|
|
|
|
<group>
|
2012-08-03 00:27:44 +00:00
|
|
|
<label for="id" string="Invoicing Settings"/>
|
2012-07-30 12:02:40 +00:00
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<label for="default_invoice_method"/>
|
|
|
|
<field name="default_invoice_method" class="oe_inline"/>
|
|
|
|
</div>
|
2012-08-03 00:27:44 +00:00
|
|
|
</div>
|
2012-07-30 12:02:40 +00:00
|
|
|
</group>
|
2012-07-20 10:59:04 +00:00
|
|
|
<separator string="Purchase Order"/>
|
|
|
|
<group>
|
2012-08-03 00:27:44 +00:00
|
|
|
<label for="id" string="Supplier Features"/>
|
2012-07-20 10:59:04 +00:00
|
|
|
<div>
|
2012-07-26 11:19:56 +00:00
|
|
|
<div>
|
|
|
|
<field name="group_purchase_pricelist" class="oe_inline"/>
|
|
|
|
<label for="group_purchase_pricelist"/>
|
2012-07-30 12:02:40 +00:00
|
|
|
</div>
|
2012-08-03 00:27:44 +00:00
|
|
|
<div>
|
2012-07-30 12:02:40 +00:00
|
|
|
<field name="module_warning" class="oe_inline"/>
|
|
|
|
<label for="module_warning"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</group>
|
|
|
|
<group>
|
2012-08-03 00:27:44 +00:00
|
|
|
<label for="id" string="Purchase Order"/>
|
|
|
|
<div>
|
2012-07-26 11:19:56 +00:00
|
|
|
<div>
|
|
|
|
<field name="group_uom" class="oe_inline"/>
|
|
|
|
<label for="group_uom"/>
|
2012-08-03 00:27:44 +00:00
|
|
|
</div>
|
2012-08-22 12:15:15 +00:00
|
|
|
<div>
|
|
|
|
<field name="group_costing_method" class="oe_inline"/>
|
|
|
|
<label for="group_costing_method"/>
|
|
|
|
</div>
|
2012-07-26 11:19:56 +00:00
|
|
|
<div name="module_purchase_double_validation">
|
|
|
|
<field name="module_purchase_double_validation" class="oe_inline"/>
|
|
|
|
<label for="module_purchase_double_validation"/>
|
2012-08-03 00:27:44 +00:00
|
|
|
</div>
|
2012-07-26 11:19:56 +00:00
|
|
|
<div>
|
|
|
|
<field name="module_purchase_requisition" class="oe_inline"/>
|
|
|
|
<label for="module_purchase_requisition"/>
|
|
|
|
</div>
|
2013-05-29 15:43:05 +00:00
|
|
|
<div attrs="{'invisible': [('module_purchase_requisition', '=', False)]}">
|
|
|
|
<field name="group_advance_purchase_requisition" class="oe_inline"/>
|
|
|
|
<label for="group_advance_purchase_requisition"/>
|
|
|
|
</div>
|
2012-07-26 11:19:56 +00:00
|
|
|
<div>
|
2013-03-22 13:06:43 +00:00
|
|
|
<field name="module_purchase_analytic_plans" on_change="onchange_purchase_analytic_plans(module_purchase_analytic_plans, context)" class="oe_inline"/>
|
2012-07-26 11:19:56 +00:00
|
|
|
<label for="module_purchase_analytic_plans"/>
|
|
|
|
</div>
|
2012-09-17 10:01:52 +00:00
|
|
|
<div>
|
|
|
|
<field name="group_analytic_account_for_purchases" class="oe_inline"/>
|
|
|
|
<label for="group_analytic_account_for_purchases"/>
|
|
|
|
</div>
|
2012-08-03 00:27:44 +00:00
|
|
|
</div>
|
2013-12-03 13:44:48 +00:00
|
|
|
</group>
|
|
|
|
<separator string="Location & Warehouse"/>
|
|
|
|
<group>
|
|
|
|
<label for="id" string="Routes"/>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<field name="module_stock_dropshipping" class="oe_inline"/>
|
|
|
|
<label for="module_stock_dropshipping"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-07-26 11:19:56 +00:00
|
|
|
</group>
|
2012-03-22 11:16:15 +00:00
|
|
|
</form>
|
2012-03-05 09:09:23 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_purchase_configuration" model="ir.actions.act_window">
|
2012-03-22 11:16:15 +00:00
|
|
|
<field name="name">Configure Purchases</field>
|
2012-03-05 09:09:23 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
2012-03-22 11:03:58 +00:00
|
|
|
<field name="res_model">purchase.config.settings</field>
|
2012-03-05 09:09:23 +00:00
|
|
|
<field name="view_mode">form</field>
|
2012-04-05 10:22:35 +00:00
|
|
|
<field name="target">inline</field>
|
2012-03-05 09:09:23 +00:00
|
|
|
</record>
|
|
|
|
|
2012-03-27 11:39:38 +00:00
|
|
|
<menuitem id="menu_purchase_config" name="Purchases" parent="base.menu_config"
|
2012-04-18 13:29:52 +00:00
|
|
|
sequence="3" action="action_purchase_configuration"/>
|
2012-03-05 09:09:23 +00:00
|
|
|
|
2012-03-29 14:21:21 +00:00
|
|
|
<record id="view_account_config" model="ir.ui.view">
|
|
|
|
<field name="name">account settings</field>
|
|
|
|
<field name="model">account.config.settings</field>
|
|
|
|
<field name="inherit_id" ref="account.view_account_config_settings"/>
|
2012-05-14 12:09:56 +00:00
|
|
|
<field name="priority" eval="18"/>
|
2012-03-29 14:21:21 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-07-23 11:15:11 +00:00
|
|
|
<separator name="analytic_account" position="attributes">
|
2012-05-14 12:09:56 +00:00
|
|
|
<attribute name="invisible">0</attribute>
|
2012-07-05 11:13:51 +00:00
|
|
|
</separator>
|
2012-08-03 12:46:59 +00:00
|
|
|
<group name="analytic_account_purchase" position="attributes">
|
2012-07-23 11:15:11 +00:00
|
|
|
<attribute name="invisible">0</attribute>
|
|
|
|
</group>
|
2012-08-03 12:46:59 +00:00
|
|
|
<xpath expr="//group[@name='analytic_account_purchase']/div" position="inside">
|
2012-07-26 11:19:56 +00:00
|
|
|
<div>
|
|
|
|
<field name="group_analytic_account_for_purchases" class="oe_inline"/>
|
|
|
|
<label for="group_analytic_account_for_purchases"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
2013-03-22 13:06:43 +00:00
|
|
|
<field name="module_purchase_analytic_plans" on_change="onchange_purchase_analytic_plans(module_purchase_analytic_plans, context)" class="oe_inline"/>
|
2012-07-26 11:19:56 +00:00
|
|
|
<label for="module_purchase_analytic_plans"/>
|
|
|
|
</div>
|
2012-08-03 12:46:59 +00:00
|
|
|
</xpath>
|
2012-03-29 14:21:21 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-03-05 09:09:23 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|