コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6393 ビュー

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
3777
2
5月 25
4967
2
5月 23
2485
0
1月 23
1541
1
8月 21
4243