mrp.production.line form should auto fill fields when choosing a product

Bug #1185457 reported by Andrius Preimantas @ hbee
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 2

Bug Description

Revisions:
addons: 9154
server: 4985
web: 3933

While manufacturing order is in draft state choose to add a scheduled product line (Scheduled Products -> Add an Item). New form will open where 3 mandatory fields are shown which are required to be filled manually. But actually, there is a 4th mandatory field, product_uom, which is invisible if a user does not belong to a group "product.group_uos". If that's the case, he has no way to add a product to MO, because he is not allowed to create mrp.production.line if UOM is not selected.

So the UOM field, must be filled automatically (maybe via method onchange_product_id()) when changing a product.

Related branches

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :
Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Andrius Preimantas @ hbee (andrius-preimantas) wrote :

I believe the work-flow shown in the video is a workaround, not an expected behavior. What if, for instance, I don't want a user to be able to manage multiple UOMs? What's more, a user may select invalid UOM (it might be different from the one on a product) while adding a scheduled products. So he first has to check what UOM is on a product and only then he should select UOM. IMHO that's a usability bug.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: Incomplete → Confirmed
summary: - [7.0] mrp.production.line form should auto fill fields when choosing a
- product
+ mrp.production.line form should auto fill fields when choosing a product
Changed in openobject-addons:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Amit Vora(OpenERP) (amit.vora-openerp) wrote :

Hello,
              I have fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1185457-amitvora.
              Revision ID: <email address hidden>
              Revision No:8740

Thanks,
Amit.

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.