跳至內容
選單
此問題已被標幟
1 回覆
5334 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
2
4月 25
1284
3
7月 25
1988
1
4月 25
1491
0
10月 24
1229
2
5月 24
4049