콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
1437
4
11월 18
8078
1
3월 15
4224
0
3월 15
4058
1
3월 15
3357