This question has been flagged
1 Reply
3953 Views

Is there a list somewhere of the allowed values for fields in the inventory table? Some of them are obviously variable, such as NAME and DESCRIPTION. That said, others obviously require a certain format (such as message_ids/id and property_stock_procurement/id, etc.) Does anyone have a list of the proper formats and acceptable inputs for these fields?

Denis

Avatar
Discard
Best Answer

The best way to understand how to import data is to export data.

Fill out a few lines and export it.

Also, check https://accounts.openerp.com/forum/Help-1/question/28203

Update:

image description

Avatar
Discard
Author

Ray - Thanks for the link. That's actually how I got as far as I did, creating a product by hand in the admin and exporting it. The problem is, I'm not seeing where all the fields are in the admin to output the proper syntax with the export. For instance, right now, I keep getting the validation error "Missing required value for the field 'purchase_line_warn'. This might be 'Purchase Order Line' in the current model, or a field of the same name in an o2m. at row 3". when trying to import. This field is left blank in my export because I'm not sure where this is in the product page in the admin.

See my update