I'd like to make some products (data records) automatically when I install my module. Any ideas?
Is this possible from the views.xml?
Thanks.
For creating the demo data for the specific model try this link
Demo data for product category.
Demo data for payment_authorize.
Ensure these two thing:
noupdate="1"
with the data tag.Make it entry in openerp.py Like:
'data': [
'data/my_demo_data.xml',
],