v 8.0 Third Party 1112
Download for 8.0 series
You bought this module and need support ? Click here !
Technical name mrp_reopen
LicenseAGPL-3
Websitehttp://www.camptocamp.com
Repositoryhttps://github.com/camptocamp/c2c-rd-addons.git#8.0
Read description for v 7.0 v 6.1
Required Apps MRP (mrp)
Warehouse Management (stock)
eInvoicing (account)

Allows reopening of confirmed production orders.

Please log in to comment on this module

  • This section is meant to ask simple questions or leave a rating.
  • This author can leave a single reply to each comment.
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Odoo
Errors regarding netsvc
by on

The fix didn't work for me. When trying "Rest to draft" it will gain create this error message: ... File "/opt/odoo/openerp/addons/mrp_reopen/mrp.py", line 119, in action_reopen wf_service = openerp.workflow NameError: global name 'netsvc' is not defined. My line 118-120: self.write(cr, uid, mrp.id, {'state':'draft'}) wf_service = openerp.workflow wf_service.trg_delete(uid, 'mrp.production', mrp.id, cr) Any idea, what to do?


Odoo
by on

In odoo v8.0 20150503 there are errors regarding netsvc. I found in netsvc.py an explanation to this problem: "The openerp.netsvc.LocalService() function is deprecated" so, I have changed the line wf_service = netsvc.LocalService("workflow") for wf_service = openerp.workflow in mrp.py from mrp_reopen module. It seems to work now.