Comment 4 for bug 513367

Revision history for this message
Numérigraphe (numerigraphe) wrote :

By the way, the test picks arbitrary an partener and address, which turns out to be the company itself.
I suggest it be changed to:
        <record id="test_order_1" model="sale.order">
            <field name="client_order_ref">test_order_1</field>
            <field name="note">This Sale Order was used to test the following use case during the installation: Order - Invoice - Payment - Picking</field>
            <field name="shop_id" ref="shop" />
            <field model="product.pricelist" name="pricelist_id" search="[]" />
            <field name="user_id" ref="base.user_root" />
            <field name="partner_id" ref="base.res_partner_agrolait" />
            <field name="partner_invoice_id" ref="base.res_partner_address_8" />
            <field name="partner_shipping_id" ref="base.res_partner_address_8" />
            <field name="partner_order_id" ref="base.res_partner_address_8" />
        </record>

Having a distinct delivery and invoice address would be even better but needs patching the base module demo data set in the server.
I'll file another bug for this.
Lionel