flectra/addons/base_branch_company/demo/branch_data.xml

28 lines
997 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<data noupdate="1">
<record id="data_branch_1" model="res.branch">
2018-01-23 07:40:28 +01:00
<field name="name">Your Company</field>
<field name="code">YC</field>
<field name="company_id" ref="base.main_company"/>
<field name="street">80 Broad St</field>
<field name="city">Scranton</field>
<field name="zip">10004</field>
<field name='country_id' ref='base.us'/>
<field name='state_id' ref='base.state_us_27'/>
<field name="phone">+1 485 123 8989</field>
</record>
<record id="base.user_root" model="res.users">
<field name="branch_ids" eval="[(6,0,[ref('data_branch_1'),])]"/>
<field name='default_branch_id' ref='data_branch_1'/>
</record>
<record id="base.main_company" model="res.company">
<field name='branch_id' ref='data_branch_1'/>
</record>
</data>
</flectra>