[7.0][mrp_subproduct] subproduct quantity are not correct

Bug #1200676 reported by Laetitia Gangloff (Acsone)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hello,

it seems there is a problem with subproduct module.

- use the head of lp:~openerp/openobject-addons/7.0
- create a new 7.0 db with demo data
- install "MRP" apps
- In Manufacturing configuration (Settings/Configuration/Manufacturing) check and apply "Produce several products from one manufacturing order"
- In Manufacturing/Bill of Materials select a Normal BoM change the quantity to 2 and add Byproducts variable with a quantity of 1
- Create a Manufacturing Order (Manufacturing/Manufacturing/Manufacturing Orders) for the updated BoM with a quantity of 1
- Confirm the production, In Finished Products we find our 2 items, the product and the 5 subproduct
- Produce the order in consume & produce mode for 1 quantity

=> The following message appears :
"Warning!

You are going to produce total 1.0 quantities of "[ADPT] USB Adapter".
But you can only produce up to total 0.5 quantities."

In addition, I think it the same as https://bugs.launchpad.net/openobject-addons/+bug/1048807

Thank for your help.

Laetitia

Related branches

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.