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

I need to restore the "country" field (country_id) by default of the partners form (res.partners.form) that I deleted some time ago. In the exports of people, that field still appears, but it is no longer visible in the form. And I also need to delete a custom field that I created called "Pais2"

아바타
취소
베스트 답변

Hi,

You might have deleted the field from the view either using the custom module or by editing the view from the front end by activating the developer mode. You can understand this by looking at your database.


If you have replaced the field using a custom module, you can uninstall the module. If the field is replaced by editing the view from the front end, activate the developer mode and open the corresponding form and click the debugger button near the logged in users name and click the Edit Form View button and check whether you can see a field named country_id in the architecture or in the inherited views. If field is existing check whether there is a invisible="1" attribute along with the field, if exist change it to invisible="0" .


if you don't want to loose time for searching the above, you can directly add a field to the view by activating  the developer mode, see this: Add Field to the View


Thanks

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

I reviewed the suggestions sent previously, and I could not solve the problem. The problem is that the "country" field (country_id) disappeared from sight. And I added the field "Pais2" that created a column in the database other than "country". The problem is that the "country" field is not in invisible mode within odoo studio. And besides, I'm not allowed to delete the "Pais2" field that I created. In this link is the HTML code of the view.

https://drive.google.com/open?id=1xwz0YyCi7CcD_rOdbY9mt1wZRCBbGkAW


아바타
취소
관련 게시물 답글 화면 활동
1
2월 25
1168
1
3월 23
5116
Editing Fields 해결 완료
2
11월 20
3599
0
9월 24
140
1
3월 25
3656