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

We have created a new model (v8) with a field 'sale_order_id' (Many2one).

We want a function be run with an @api.depends('sale_order_id.picking_ids.state') on this new model.


That launches an error which says that no _fnct_search is defined on 'picking_ids' (from sale.order) : 'Field picking_ids can not be searched : non-stored function field without fnct_search'.


Is there a solution for this?


Many thanks!

아바타
취소
베스트 답변

add

store=True

or

search="_a_search_function"

to the corresponding field. that's a solution.

아바타
취소
관련 게시물 답글 화면 활동
2
3월 24
5550
0
5월 21
2654
1
11월 17
12589
0
6월 15
5117
3
3월 15
5644