← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 798563] Re: return {'type':'ir.actions.act_window_close'} don't close view form in o2m relation

 

Hello,

I have faced the same problem in web-client So I am confirming this
issue.

I have attached a video for more reference.

Thanks.

** Changed in: openobject-client-web
   Importance: Undecided => Low

** Changed in: openobject-client-web
       Status: New => Confirmed

** Changed in: openobject-client-web
     Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)

-- 
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/798563

Title:
  return {'type':'ir.actions.act_window_close'} don't close view form in
  o2m relation

Status in OpenERP Web Client:
  Confirmed

Bug description:
  I add to sale.order new a field o2m to custom object B(osv.osv) .  In view form of B, I add: 
  <button name="methon_my_close" type="object" string="Close object" icon="gtk-ok" /> or 
  <button name="methon_my_close" type="object" string="Close object" icon="gtk-ok" special="cancel"/>

  In class B:
  def methon_my_close(self, cr, uid, ids, context):
  .
  . custom code
  .
  return {'type':'ir.actions.act_window_close'} 

  GTK client close the popup windows, but NOT the web client (web client
  show empty grey windows).

  My platform and browser:
  -  Ubuntu 10.04 LTS 32 bits.
  - Firefox 3.6.16.
  - Web client: 6.0.3 updated with bzr 17 jun 2011.

  thx, Carlos.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/798563/+subscriptions


References