Hi guys
Could you give me the way to create a new calculated field that would give the result of [Ordered qties - Already received qties]
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi guys
Could you give me the way to create a new calculated field that would give the result of [Ordered qties - Already received qties]
Thanks
I did everything you told me : Yes, I'm in PO line order
I erased the space after the coma. I still get the same error message.
I removed product_qty for Dependencies then I still get the same kind of message " Unknown field 'qty_received' in dependency 'qty_received'"
- Check if you are in purchase order line model
-check there is no spacing
-try to remove product_qty from dependencies then save without it
Hello,
1. open studio in PO form view -> navigate to purchase order lines and open list view
2. drag and drop field with type decimal -> then click on "More" at the left bottom
3. add this code on compute field:
for record in self:
record['x_studio_remaining_qty'] = record['product_qty'] - record['qty_received']
the result will be :
Notes:
- activate developer mode
- start new purchase cycle to test customizations
Hope this will Help
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up