Maitri Patel 5a47fdc2f8 [FIX] stock: prevent traceback when lots is empty in import serial/lots
When the user click on the 'import' button without lots in the import
serial/lots wizard in stock then this issue is generated.

Steps to reproduce:

- Install Inventory.
- Inventory >> Operations >> Receipts >> create the new Receipt
- Add product to the receipt which has tracking 'by lots',
  Save the Receipts
- Click on the button in a tree view which opens the detailed operation wizard,
  And click on Import Serial/Lots in it
- In Import Serial/ Lots wizard click on the import button without passing any
  value in the lots field
- Traceback will be generated

Applying these changes will resolve this issue.

sentry-4244975188

closes odoo/odoo#125786

X-original-commit: a45aeea3335a96390de0b4b5760683e3081852df
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2023-06-21 13:46:05 +02:00
2023-06-19 10:40:51 +02:00
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%