跳至内容
菜单
此问题已终结

Hi,

I am using ea_import tool to import and update the data in forms. I am able to do import (if new) and update (if exist) successfully for all fields including one2many and many2one but not for many2many. Is there a way to do that with ea_import or with any other module or with default import functionality.

I would like the following to happen for the list of records. Create if it doesn't exist or update if exist. I can give the data in any format required not an issue. Any idea of how to do this (for field many2many)?.

Thanks for your time.

形象
丢弃

hey can you guide me how to import one2many field ...to be very precise i want to import invoice and invoice lines . how to set the relation in template and import data ......it would be a great help from you thanks

For anyone arriving here, the answer is separate by comma, as it describes in the docs.

*How can I import a many2many relationship field (e.g. a customer that has multiple tags)?*

The tags should be separated by a comma without any spacing. For example, if you want your customer to be linked to both tags ‘Manufacturer’ and ‘Retailer’ then you will encode “Manufacturer,Retailer” in the same column of your CSV file.

相关帖文 回复 查看 活动
1
11月 24
1373
4
11月 18
8037
1
3月 15
4179
0
3月 15
4027
1
3月 15
3345