Skip to Content
Menu
This question has been flagged
1 Reply
1918 Views

I have a product with two lots/serial number . lets consider I have a location RM/C1.  In product_move_line, when I filter of this product with lot_id and location_id , I got the difference of quantity done in one lot_id is 52 and display this product with this lot_id in inventory report is 52.That is correct. But for another lot_id , I calculate the same and difference is 32, but that product with that lot_id is not shown in inventory report view and product's on hand quantity also. What's wrong with that? 

Can someone explain how inventory report and product_move calculation is not equal? 

Welcome for any suggestion and explanation.

Avatar
Discard
Best Answer

Hello GGWP,

As per your comment, I am not clear on much but, I can explain how inventory reports work.

Inventory Report. (stock. quant)
stock quant has no relation with move or move line.
In every transaction when the moving line is done or updated then quant is updated or created.
updated -

if the move line has matched with product_id, company_id, location_id, lot_id, package_id, owner_id, in_date(in quant) then that move line is merged in that quant.

if the parameter is not matched exactly then-new quant is created.

@api.onchange('tracking')
def onchange_tracking(self):
some code here
'message': _("You have product(s) in stock that have no lot/serial number. You can assign lot/serial numbers by doing an inventory adjustment.")}}

Import point - when you try to change Product tracking and if the product has a lot and serial number and if quant exists with this product and lot/serial number then the system will warn (miss-matched quant will occur Noted it.)

Thanks & Regards,

Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

Avatar
Discard
Author

Hello Jainesh Shah,
Thanks for your answer. But I want to know why total onhand quantity of that location is different.I have one location RM/C1. And I find this location as From location in product move with one specific product and get qty done is 80 and then I find this location as Destination location in product move with same product and get 100. So on hand quantity of this product in this location be 20 right? But onhand quantity of this product in inventory report and in product is 12. I think they might be the same , right? When I check it out , that difference 8 quantity is one lot/serial number. But not display this lot/serial is not displayed in on hand quantity.Why?

Related Posts Replies Views Activity
0
Sep 21
1104
0
Sep 21
1523
0
Aug 19
1239
3
Apr 24
869
0
Nov 23
831