Skip to Content
मेन्यू
This question has been flagged
2 Replies
2886 Views

i have a little store on Cs-Cart, and i'm moving to Odoo, testing the import from product

s it give me this error http://prntscr.com/e9mk3h

Avatar
Discard
Best Answer

Hello,


As explain in the error message, product_template has a field categ_id which on is required !


categ_id = fields.Many2one(
 'product.category', 'Internal Category',
change_default=True, default=_get_default_category_id, domain="[('type','=','normal')]",
 required=True, help="Select category for the current product")


When you start with a fresh database, you have  "product.product_category_all" as valid xml_id .... 

That's the default value when you create a product via the UI. (_get_default_category_id)

 

Avatar
Discard
Author Best Answer

Thanks for answer

Avatar
Discard
Related Posts Replies Views Activity
2
मई 25
729
2
मार्च 24
2967
1
फ़र॰ 22
2114
5
नव॰ 21
12533
1
मार्च 17
3032