Nasreddin Boulif (bon) 9c131562a8 [FIX] point_of_sale: Parse quantity like a float
Steps to reproduce:

  - Install "Point of sale" and "l10n_fr" modules
  - Switch to french Company
  - Go to user preference and change language to "French"
  - Create a new POS with french certification installed
  - Run the POS
  - Try to change quantity of a product

Issue:

  Impossible to encode a quantity with decimals (add a line at 0 instead)

Cause:

  The popup return value is a string.
  The value is used before coverting it to float.

Solution:

  Parse quantity value like a float before using it.

opw-2608707

closes odoo/odoo#74578

X-original-commit: 6a265e2c334b55ad796c015a072d0c1b0be738b5
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
2021-08-02 14:13:09 +00:00
2021-08-02 07:53:17 +00: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%