diff options
| author | Gert Pellin <gpe@odoo.com> | 2019-05-22 12:27:53 +0000 |
|---|---|---|
| committer | Gert Pellin <gpe@odoo.com> | 2019-05-22 13:25:10 +0000 |
| commit | d92e0cb1cf0e8697fc7dddbf307bd8181e491b34 (patch) | |
| tree | 579e063e62aacffbe81fc84fb157e14d3b845e03 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | ec2ea9b08d7abd4ff0f0935cd9459a96632d3a3a (diff) | |
[FIX] point_of_sale: return products with serial numbers
* Do a product return of a product with serial number required.
* Open the dialogue to enter the serial numbers.
Current behaviour before PR:
* A modal without any input fields will be displayed.
Desired behaviour after PR is merged:
* The modal has as many input fields as there are products to be returned.
The modal is populated by the value of `lots_required`. To get the right
value this variable should have the absolute value of the amount of
products.
After closing the modal there will be a check on the amount of serial
numbers given. This will automatically update the amount of the product.
Because this value is always positive we have to do a check on the
product quantity first to know the sign of the new value.
closes odoo/odoo#33535
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
