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

I want to know how I can move a value from a new field from stock.picking to the stock.move ?

Thanks

아바타
취소
베스트 답변

I would suggest to create a related field using picking_id (reference to stock_picking) inside stock_move by inheriting it.

example:

suppose need to pull origin field from stock_picking to stock_move.

write here


picking_origin = fields.Integer(related='picking_id.origin', string="Origin');

아바타
취소
작성자

so in stock_move I made a field like this ? I will try that later.

작성자

I have made it with overriding 5 methods from the original stock modul. I don't see an other way to manage that

will you please share some more information , i did not get this ,

I have made it with overriding 5 methods from the original stock modul. ?

관련 게시물 답글 화면 활동
1
7월 17
4004
2
5월 25
5835
2
5월 23
2768
0
2월 23
1720
1
8월 21
4573