74 lines
3.3 KiB
XML
74 lines
3.3 KiB
XML
<openerp>
|
|
<data>
|
|
<record id="view_base_setup_company" model="ir.ui.view">
|
|
<field name="name">Company Configuration</field>
|
|
<field name="model">base.setup.company</field>
|
|
<field name="type">form</field>
|
|
<field name="inherit_id" ref="base.res_config_view_base"/>
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<form position="attributes">
|
|
<attribute name="string">Company Configuration</attribute>
|
|
</form>
|
|
<xpath expr="//label[@string='description']" position="attributes">
|
|
<attribute name="string">Your company information will be used to personalize documents issued with OpenERP such as invoices, sales orders and much more.</attribute>
|
|
</xpath>
|
|
<xpath expr='//separator[@string="title"]' position='attributes'>
|
|
<attribute name='string'>Configure Your Company Information</attribute>
|
|
</xpath>
|
|
<xpath expr='//separator[@string="vsep"]' position='attributes'>
|
|
<attribute name='rowspan'>25</attribute>
|
|
<attribute name='string'></attribute>
|
|
</xpath>
|
|
<group string="res_config_contents" position="replace">
|
|
<group colspan="5">
|
|
<group colspan="2">
|
|
<field name="company_id" invisible="1"/>
|
|
<field name="name" required="True"/><field name="website"/>
|
|
<field name="street"/><field name="street2"/>
|
|
<field name="zip"/>
|
|
<field name="city"/>
|
|
<field name="country_id"/>
|
|
<field name="state_id"/>
|
|
<field name="phone"/>
|
|
<field name="email"/>
|
|
<field name="account_no"/>
|
|
<field name="currency" widget="selection"/>
|
|
</group>
|
|
<newline/>
|
|
<group colspan="2">
|
|
<field name="rml_header1" colspan="5" invisible="1" groups="base.group_extended"/>
|
|
<field name="rml_footer1" colspan="5" invisible="1" groups="base.group_extended"/>
|
|
<field name="rml_footer2" colspan="5" invisible="1" groups="base.group_extended"/>
|
|
|
|
<separator colspan="4"
|
|
string="Your Logo - Use a size of about 450x150 pixels."/>
|
|
<field colspan="5" name="logo" widget="image"
|
|
nolabel="1"/>
|
|
</group>
|
|
</group>
|
|
</group>
|
|
|
|
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_base_setup_company" model="ir.actions.act_window">
|
|
<field name="name">Company Configuration</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">base.setup.company</field>
|
|
<field name="view_id" ref="view_base_setup_company"/>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<record id="base_setup_company_todo" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_base_setup_company"/>
|
|
<field name="sequence">3</field>
|
|
<field name="restart">onskip</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|