[mrp] change quantity button require bom_id

Bug #570658 reported by Omar (Pexego)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Hi,

Change quantity button in production form requires a bom, but the bom isn't required in production, then this wizard if bom isn't defined it must change the quantity of final_moves in the correct states of production but does not show the error "not bom defined". I include a patch.

Tags: pexego
Revision history for this message
Omar (Pexego) (omar7r) wrote :
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Omar.

If the Main product on production order has a BOM anyhow(doesn't matter you have that in production order or not), you will be able to find the BOM after using the wizard if it has BOM. Or you will face a warning if it has no BOM.

I dont see any reason for this problem to appear.
Please reopen and write more here if it is confusing for you.

Thanks.

Changed in openobject-addons:
milestone: none → 5.0.10
status: New → Invalid
Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi Jay,

I want to create a manual production order and if the product has not bom and then I need change the final quantity, I have to click this button for it.
The button forces me to create a bom, but bom isn't required in production.
Therefore, or bom_id is required in production or the button cannot force me to create a bom.

Thanks

Changed in openobject-addons:
status: Invalid → New
Revision history for this message
gpa(OpenERP) (gpa-openerp) wrote :

Hello Omar,

Would you please tell me your steps?

The "Change Quantity" wizard gets available after the production order has BOM or the state in (Waiting Goods, Ready to Produce , In Production).

Thanks

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi gpa:

I want to produce a product without bom, but I have to change quantity of product, therefore I click in the Change Qty button and it shows me a warning "Couldn't find bill of material for product" and it does not change the final product quantity, then if bom_id isn't required in production order this button must allow me change quantity without bom.

Revision history for this message
gpa(OpenERP) (gpa-openerp) wrote :

Hello Omar,

Did you change something in the local code?

I am only able to get the "Change Quantity" Button after only start production order.
Thanks

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi gpa:

Excuse me, I have overwritten action_confirm and if not bom in production but it has production moves the production continues, I see the bug with my local code, but, why is bom required in production order? I could change my production moves manually, even, maybe my final product usually changes his raw materials for example design lamps by order. I think that it is not correct.

Set to invalid if you don't share my opinion.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

The current flow seems lot generic.
However, if you have any suggestions to imrpove it, you are free to express that on a new blueprint.
Thanks a lot for your involvement.

Changed in openobject-addons:
status: New → Invalid
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.