跳至内容
菜单
此问题已终结
1 回复
2858 查看

Example: i want to save date in product.product automatically without scheduler or without click any button when first time product will less than or equal to zero


What I Tried?

1. onchnage or depends of qty_available (not working because compute field)

2. super call of _compute_quantities method (not working)


Thanks :)

形象
丢弃
最佳答案

Hi Dhiraj,

I think you can use the fields quantity(On Hand quantity) or available_quantity(Available quantity) from the stock.quant model, through onchange or sql constrains and check for its value whether its less than or equal to zero, and then write the date to the related product from the stock.quant model itself.

Hope this will help you
Thank you

形象
丢弃
相关帖文 回复 查看 活动
1
9月 22
2809
3
9月 25
3263
0
8月 25
802
1
8月 25
3025
2
7月 25
8659