in sale/sale_sequence.xml
<record id="seq_sale_order" model="ir.sequence"> <field name="name">Sales Order</field> <field name="code">sale.order</field> <field name="prefix">SO</field> <field name="padding">3</field> <field name="company_id" eval="False"/> </record>
it seems this loads without company_id
IMHO all sequences must have a company_id especially 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'ir.sequence', context=c), always creates sequences WITH company_id
in sale/sale_ sequence. xml
<record id="seq_sale_order" model=" ir.sequence" > >sale.order< /field> >SO</field> >3</field>
<field name="name">Sales Order</field>
<field name="code"
<field name="prefix"
<field name="padding"
<field name="company_id" eval="False"/>
</record>
it seems this loads without company_id
IMHO all sequences must have a company_id
'company_ id': lambda s,cr,uid,c: s.pool. get('res. company' )._company_ default_ get(cr, uid, 'ir.sequence', context=c),
especially
always creates sequences WITH company_id