İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2259 Görünümler

in case i add a new company and need to load same data.xml .. how it works?

records like new account - stock picking - stock location

Avatar
Vazgeç
En İyi Yanıt

Hi,

Create Your data.xml File

<odoo>
<record id="your_unique_id_for_account" model="account.account">
        <field name="name">Your Account Name</field>
        <field name="code">Your Account Code</field>
        <field name="company_id" ref="base.main_company"/>
        <!-- Add other fields as needed -->
    </record>
<record id="your_unique_id_for_stock_location" model="stock.location">
        <field name="name">Your Location Name</field>
        <field name="company_id" ref="base.main_company"/>
        <!-- Add other fields as needed -->
    </record>
</odoo>


Hope it helps

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 22
3001
1
Nis 25
4210
1
Eyl 22
3962
0
Nis 22
2385
0
Şub 23
1850