Hi i like to create my own demo data by adding records and dependencies to one of my own add-ons. I created all the records but i get stuck with some Problems. I am using the newest Version from odoo 8 from github.
* I do not want the original demo data from odoo just my own, so i do not check the demo data box then creating a database. My demo Data comes from a data.xml.
- Is it possible to integrate demo data for the installation wizards ? For example to set the tax by default to german 19% and use german Financing ? So all is set then I put in my add-on the dependency of the sale module?
- I created demo sale orders and demo sale_order_lines and like to get some of them confirmed and i tried to make it like the original demo data but at the point then they should use a workflow like:
<record id="testing.sale_order_1" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
<field name="order_policy">prepaid</field>
</record>
I get an error :
ParseError: ""null value in column "account_id" violates not-null constraint
" while evaluating
u'action_invoice_create()'" while parsing /var/www/addons/testing/demo/sale/status.xml:456, near
<record id="testing.sale_order_1" model=„sale.order">
But if I install the sale module upfront and set the tax and the financing it works like a charm and orders are confirmed an invoices are created and confirmed
How can i get the account_id in the records, because i cant see how it is done with the original demo content. There is no information of a account_id and for my understanding account_ids are created from odoo.