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

I am building a "leftover" module, I added a boolean column "use leftover" on move_raw_ids (stock.move relation). 

_inhirit = 'stock.move'
use_leftover = fields.Boolean(default=False)

What I want is when use_leftover is true, then Consumed should be zero, but To consume as it should be. Also, I don't want to change the quantity on hand and forecasted.

アバター
破棄
著作者 最善の回答

I found the answer. if I make the state of stock_move "cancel", on hand and forecasted will not change

アバター
破棄
関連投稿 返信 ビュー 活動
3
12月 24
2795
1
10月 24
3213
2
8月 24
2354
0
10月 22
1966
0
6月 21
4015