mirror of
https://github.com/NaN-tic/trytond-sale_pos.git
synced 2023-12-14 02:43:03 +01:00
parent
ce4f295b77
commit
ed2c44179c
1 changed files with 2 additions and 0 deletions
2
sale.py
2
sale.py
|
@ -399,6 +399,8 @@ class WizardAddProduct(Wizard):
|
|||
return 'choose'
|
||||
|
||||
product, = products
|
||||
# set quantity to None in case product code is numeric
|
||||
quantity = None
|
||||
self.start.last_product = product
|
||||
|
||||
lines = self.add_sale_line(self.start.lines, product, quantity)
|
||||
|
|
Loading…
Reference in a new issue