2009-12-09 10:16:28 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<openerp >
<data >
2012-06-19 08:37:32 +00:00
<menuitem id= "menu_res_company_global" parent= "base.menu_administration" name= "Companies" sequence= "2"
groups="base.group_no_one"/>
2012-04-30 01:02:09 +00:00
<report id= "preview_report" model= "res.company" name= "preview.report" multi= "True" rml= "base/report/preview_report.rml" string= "Preview Report" />
<record id= "bank_account_update" model= "ir.actions.act_window" >
<field name= "name" > Company Bank Accounts</field>
<field name= "res_model" > res.partner.bank</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "context" eval= "{'default_partner_id':ref('base.main_partner'), 'company_hide':False, 'default_company_id':ref('base.main_company'), 'search_default_my_bank':1}" />
</record>
<record id= "view_company_form" model= "ir.ui.view" >
<field name= "name" > res.company.form</field>
<field name= "model" > res.company</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Company" >
2012-06-04 18:30:55 +00:00
<sheet >
2012-11-06 07:31:56 +00:00
<div >
2012-12-16 16:10:13 +00:00
<field name= "logo" widget= "image" class= "oe_avatar oe_left" />
2012-06-04 18:30:55 +00:00
</div>
2012-06-19 08:56:09 +00:00
<div class= "oe_title" >
<label for= "name" class= "oe_edit_only" />
2012-06-28 07:18:37 +00:00
<h1 >
<field name= "name" class= "oe_inline" />
</h1>
2012-06-04 18:30:55 +00:00
</div>
2012-12-18 17:47:54 +00:00
<div attrs= "{'invisible' : [('logo','!=',False)]}" class= "oe_view_nocontent oe_clear" >
2013-01-15 09:10:39 +00:00
<p class= "oe_view_nocontent_create oe_edit_only" >
2012-12-18 17:47:54 +00:00
Click to set your company logo.
</p>
</div>
2012-07-13 15:35:20 +00:00
<group col= "4" >
<field name= "parent_id" groups= "base.group_multi_company" />
</group>
2012-04-30 01:02:09 +00:00
<notebook colspan= "4" >
<page string= "General Information" >
2012-06-04 18:30:55 +00:00
<group >
<group >
2012-08-17 10:06:12 +00:00
<field name= "partner_id" readonly= "1" required= "0" groups= "base.group_no_one" />
2012-06-04 18:30:55 +00:00
<label for= "street" string= "Address" />
<div >
<field name= "street" placeholder= "Street..." />
<field name= "street2" />
<div >
2012-07-13 15:35:20 +00:00
<field name= "city" placeholder= "City" style= "width: 40%%" />
2012-11-29 07:23:34 +00:00
<field name= "state_id" class= "oe_no_button" placeholder= "State" on_change= "onchange_state(state_id)" style= "width: 24%%" options= '{"no_open": True}' />
2012-07-13 15:35:20 +00:00
<field name= "zip" placeholder= "ZIP" style= "width: 34%%" />
2012-06-04 18:30:55 +00:00
</div>
2012-10-09 14:26:07 +00:00
<field name= "country_id" placeholder= "Country" class= "oe_no_button" options= '{"no_open": True}' on_change= "on_change_country(country_id)" />
2012-06-04 18:30:55 +00:00
</div>
2012-09-05 15:28:34 +00:00
<label for= "rml_header1" />
<div >
<field name= "rml_header1" placeholder= "e.g. Global Business Solutions" />
</div>
2012-09-13 12:20:11 +00:00
<field name= "website" widget= "url" placeholder= "e.g. www.openerp.com"
on_change="onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)"/>
2012-06-04 18:30:55 +00:00
</group>
<group >
2012-09-13 12:20:11 +00:00
<field name= "phone" on_change= "onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)" />
<field name= "fax" on_change= "onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)" />
<field name= "email" on_change= "onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)" />
<field name= "vat" on_change= "onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)" />
<field name= "company_registry" on_change= "onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)" />
2012-06-04 18:30:55 +00:00
</group>
</group>
2012-07-13 15:35:20 +00:00
<group string= "Bank Accounts" >
2012-09-13 12:20:11 +00:00
<field name= "bank_ids" nolabel= "1" context= "{'default_company_id': active_id, 'footer_hide': False}"
on_change="onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)"/>
2012-08-24 16:59:00 +00:00
</group>
2014-02-12 11:53:50 +00:00
</page>
<page string= "Configuration" >
<group >
<group name= "account_grp" string= "Accounting" >
<field name= "currency_id" />
</group>
</group>
</page>
2014-04-23 13:26:35 +00:00
<page string= "Report Configuration" >
<group string= "Configuration" >
2012-09-13 12:20:11 +00:00
<field name= "custom_footer" on_change= "onchange_footer(custom_footer, phone, fax, email, website, vat, company_registry, bank_ids)" />
<field name= "rml_footer" attrs= "{'invisible': [('custom_footer','=',False)]}" />
<field name= "rml_footer_readonly" attrs= "{'invisible': [('custom_footer','=',True)]}" />
2013-10-14 15:05:07 +00:00
</group>
2014-04-23 13:26:35 +00:00
<group string= "Configuration (RML)" col= "2" groups= "base.group_no_one" >
2014-02-12 11:53:50 +00:00
<field name= "rml_paper_format" on_change= "onchange_rml_paper_format(rml_paper_format)" />
2014-04-23 13:26:35 +00:00
2013-10-14 15:05:07 +00:00
<label for= "font" />
<div >
2014-04-23 13:26:35 +00:00
<field name= "font" class= "oe_inline" on_change= "onchange_font_name(font, rml_header, rml_header2, rml_header3)" />
<button string= "(reload fonts)" name= "act_discover_fonts" type= "object" class= "oe_link" colspan= "1" />
2013-10-14 15:05:07 +00:00
</div>
2014-04-23 13:26:35 +00:00
<div class= "oe_right oe_button_box" name= "button_box" colspan= "2" >
<button name= "%(preview_report)d" string= "Preview Header/Footer" type= "action" />
</div>
<group col= "1" colspan= "2" >
<field name= "rml_header" />
<field name= "rml_header2" />
<field name= "rml_header3" />
</group>
2012-04-30 01:02:09 +00:00
</group>
</page>
</notebook>
2012-06-04 18:30:55 +00:00
</sheet>
2012-04-30 01:02:09 +00:00
</form>
</field>
</record>
<record id= "view_company_tree" model= "ir.ui.view" >
<field name= "name" > res.company.tree</field>
<field name= "model" > res.company</field>
<field name= "field_parent" > child_ids</field>
<field name= "arch" type= "xml" >
<tree string= "Companies" >
<field name= "name" />
<field name= "partner_id" />
</tree>
</field>
</record>
2012-11-01 10:55:18 +00:00
<record id= "company_normal_action_tree" model= "ir.actions.act_window" >
<field name= "name" > Companies</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > res.company</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "domain" > [('id','=',active_id)]</field>
</record>
2012-04-30 01:02:09 +00:00
<record id= "action_res_company_form" model= "ir.actions.act_window" >
<field name= "name" > Companies</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > res.company</field>
<field name= "view_type" > form</field>
<field name= "help" > Create and manage the companies that will be managed by OpenERP from here. Shops or subsidiaries can be created and maintained from here.</field>
</record>
<menuitem action= "action_res_company_form" id= "menu_action_res_company_form" parent= "base.menu_res_company_global" />
<record id= "action_res_company_tree" model= "ir.actions.act_window" >
<field name= "name" > Company's Structure</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > res.company</field>
<field name= "domain" > [('parent_id','=',False)]</field>
<field name= "view_type" > tree</field>
</record>
<menuitem action= "action_res_company_tree" groups= "base.group_multi_company" id= "menu_action_res_company_tree" parent= "base.menu_res_company_global" sequence= "16" />
2009-12-09 10:16:28 +00:00
2012-11-01 06:02:15 +00:00
<record id= "ir_open_company" model= "ir.values" >
<field eval= "'tree_but_open'" name= "key2" />
<field eval= "'res.company'" name= "model" />
<field name= "name" > Companies</field>
2012-11-01 10:55:18 +00:00
<field eval= "'ir.actions.act_window,%d'%company_normal_action_tree" name= "value" />
2012-11-01 06:02:15 +00:00
</record>
2009-12-09 10:16:28 +00:00
<record id= "view_inventory_tree" model= "ir.ui.view" >
<field name= "name" > multi_company.default.tree</field>
<field name= "model" > multi_company.default</field>
<field name= "priority" eval= "8" />
<field name= "arch" type= "xml" >
<tree string= "Multi Company" >
2010-03-24 01:17:46 +00:00
<field name= "company_id" />
2009-12-09 10:16:28 +00:00
<field name= "object_id" />
2009-12-17 21:37:00 +00:00
<field name= "field_id" />
2009-12-09 10:16:28 +00:00
<field name= "expression" />
<field name= "sequence" />
<field name= "company_dest_id" />
<field name= "name" />
</tree>
</field>
</record>
<record id= "view_inventory_form" model= "ir.ui.view" >
<field name= "name" > multi_company.default.form</field>
<field name= "model" > multi_company.default</field>
<field name= "priority" eval= "8" />
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Multi Company" >
2012-06-15 05:24:46 +00:00
<sheet >
2012-06-28 10:58:47 +00:00
<group >
<group >
<field name= "name" />
<field name= "company_id" />
<field name= "company_dest_id" />
</group>
<group >
<field name= "object_id" />
<field name= "field_id" domain= "[('model_id','=',object_id)]" />
<field name= "expression" />
<field name= "sequence" />
</group>
2009-12-09 10:16:28 +00:00
</group>
2012-08-24 12:36:13 +00:00
</sheet>
2009-12-09 10:16:28 +00:00
</form>
</field>
</record>
<record id= "view_inventory_search" model= "ir.ui.view" >
<field name= "name" > multi_company.default.search</field>
<field name= "model" > multi_company.default</field>
<field name= "priority" eval= "8" />
<field name= "arch" type= "xml" >
<search string= "Multi Company" >
2012-06-22 10:11:46 +00:00
<field name= "name" string= "Name" />
2012-07-19 09:44:51 +00:00
<field name= "company_id" />
<field name= "company_dest_id" />
2012-06-09 12:40:45 +00:00
<field name= "object_id" />
2009-12-09 10:16:28 +00:00
</search>
</field>
</record>
<record id= "action_inventory_form" model= "ir.actions.act_window" >
2014-06-28 15:32:01 +00:00
<field name= "name" > Company Defaults</field>
2009-12-09 10:16:28 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > multi_company.default</field>
<field name= "view_type" > form</field>
<field name= "search_view_id" ref= "view_inventory_search" />
</record>
2014-06-28 15:32:01 +00:00
<menuitem id= "menu_action_inventory_form" parent= "base.menu_ir_property" action= "action_inventory_form" />
2009-12-09 10:16:28 +00:00
</data>
</openerp>