[trunk]product quantity no decimal are permit on website

Bug #1277519 reported by Stéphane Van Erp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 1

Bug Description

In the shopping card, when modifying product quantity to order, you cannot put something other than an integer.
It is a problem if the product unity of measure is kg for example.
I understand that you can not sell 1/2 computer (uof = pce), but you could sell 3.5 kg of salt if needed.
In the sales module, not on the website but on the backend, it is possible to do it.

Using addons r9101 of 7th Feb

Related branches

description: updated
summary: - product quantity no decimal are permit
+ product quantity no decimal are permit on website
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote : Re: product quantity no decimal are permit on website

Hello,

I think this issue is duplicate of lp:1275564 . It looks like similar at all. So, Would you please check it ? And notify me about this.

Thank you.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Stéphane Van Erp (stephane-vanerp) wrote :

I don't think that it's a duplicate.

A product with an UOM of kg.
I want to buy 1.5 kg

Revision history for this message
Stéphane Van Erp (stephane-vanerp) wrote :

but when lost focus, 1.5 become 1

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello,

Yes, you are right, when I add a "Quantity" 2.5 for 'black grapes' product. Then the quantity does not allows .5 and and it goes to 2 kg. which is wrong . It should allow 2.5 kg also.

Thank you.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: Incomplete → Confirmed
summary: - product quantity no decimal are permit on website
+ [trunk]product quantity no decimal are permit on website
Revision history for this message
Yogesh Parekh(OpenERP) (yogesh.parekh-openerp) wrote :

Hello,

     It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/saas-3-bug-1277519-ypa

     Revision id = <email address hidden>

     Revision No = 9204

Thanks,
ypa.

Changed in openobject-addons:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.