[7.0] Invalid mrp.process_node_productionorder0 after update 9413

Bug #1223276 reported by PkLab.net
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Publisher's Warranty Team

Bug Description

After pull of update 9413 I receiving

"ValueError: No such external ID currently defined in the system: mrp.process_node_productionorder0" for module project_mrp

The error is strictly related to the update 9413 because this changes field reference from "sale_stock.process_node_saleprocurement0" to "mrp.process_node_productionorder0"
See: http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/revision/9413

may be this change requires some other additional module dependence ?

please review this.

regds

Revision history for this message
Amit Parik (amit-parik) wrote :

Thanks for reporting!

Need to assign mrp under dependency of project_mrp.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
PkLab.net (pklab) wrote :

Ok !
I will wait for dependency commit in branch 7.0

thank you

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hi,

The fix has landed in addons 7.0 at revision 9454 rev-id: <email address hidden>.

Changing the dependencies of `project_mrp` was not the desired solution, as neither `sale_stock` nor `mrp` modules are supposed to be required for `project_mrp` as of version 7.0 (despite the module's legacy name). Changing dependencies is also not a good idea in a stable series.

Instead, the missing process node was re-injected in the `project_mrp` module itself, as a copy of the process node that has been moved to the `sale_stock` module. For more details please see the commit diff and message.

In v8 we will rename the module to make its dependencies and purpose more obvious (e.g. `sale_project`).

Thanks for reporting!

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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