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

Hello,

i want to create a new tree in product.template wich will contain a field with type many2one from hr.employee

so when i just put the field into product.template.common.form it's work without any probleme

but when put the field in the new tree it seems work but when i want to make a test it doesnt work and it cant save and show this error message : 

The operation could not be completed, probably as a result of:

- Deletion: you try to delete a record to which other records refer

- Creation / modification: a required field is not correctly filled

i have joined 4 pictures of what i have already done : 


아바타
취소

Based on this informations it is difficult to help you. Please post the code you have created for the new tree view. I recommend to create a module for a complete new tree view.

베스트 답변

ok you want to have a tree view in the form view. But for this you need a one2many or many2many field. I did think you want to have an new general tree view.

아바타
취소
작성자 베스트 답변

This is the code added in product.template.common.form

 


아바타
취소
베스트 답변

Avez vous trouver la solution?

아바타
취소
관련 게시물 답글 화면 활동
2
5월 22
3634
1
8월 21
6696
3
12월 19
5824
0
4월 19
3685
2
2월 18
5966