← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 788079] Re: Stock picking validation - window remains open

 

i get same problem in other confirmation screen, the problem is simple.

Look the wizard, when you click on confirm, wizard do joib and return a
empty dict, he need to return

{'type': 'ir.actions.act_window_close'} <=== that will close the confirm
screen and refresh his parent screen.


i have this bug in mrp.product.produce, when i click on produce.

i dont modify directly openerp code, so i have one module for all patch
we do.

For this case i have that in my module.

class mrp_product_produce(osv.osv_memory):
    _inherit = 'mrp.product.produce'

    def do_produce(self, cr, uid, ids, context=None):
        result = super(mrp_product_produce, self).do_produce(cr, uid, ids, context)
        if not result:
            result = {'type': 'ir.actions.act_window_close'}
        return result
    
mrp_product_produce()

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/788079

Title:
  Stock picking validation - window remains open

Status in OpenERP Web Client:
  Confirmed

Bug description:
  I am using V6.0.2.

  Once I press process now button in stock picking and it opens up a new
  window for validation.

  After I click validate button, the window does not get closed.


References