Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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.

Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Des 24
2657
1
Okt 24
3050
2
Agu 24
2251
0
Okt 22
1915
0
Jun 21
3946