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

In Odoo 10 we had custom Modules with treeview definitions like this:

<tree create="false" delete="false" default_order="write_date asc">


while upgrading to odoo 11/12 we now get 

Uncaught TypeError: Cannot read property 'type' of undefined


removing default_order attribute solves the issue.

But how can i implement this default_order as before upgrading to odoo 12?


아바타
취소
베스트 답변

Mention write_date in tree view.


      <tree create="false" delete="false" default_order="write_date asc">
                <field name = "write_date" invisible="1" />
   </tree>



아바타
취소