I am facing the issue of loading 20-30 sec on quotation confirm sales. The issue way due to the multipel lot and serial of specific product. One of the proudct suppose Paracetamol medicine has some how 106 lot/serial during purhcase of that product multiple times and if I sales that product it start loading and if I configure No lot tracking for that product, confirm sales work fine. How can I solve this issue as I have so many products in my odoo 10 with multiple lot/serial or is there any module to archieve the lot/serial with Zero quantity?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
1474
Views
Hi
You can create a server action for archiving those records for the model stock.production.lot
and update the code as following
def archive_lot(self):
for rec in self:
if not rec.product_qty:
rec.active = False
Hope this helps
Regards
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
5
Dec 23
|
22174 | ||
|
0
Apr 22
|
2398 | ||
|
2
Apr 21
|
7684 | ||
|
1
Jul 16
|
4483 | ||
|
1
Mar 15
|
3797 |
Thank you @bella james, but with archiveing lot aslo didn't solve the issue.