A simple testcase with official addons: with CRM installed, open a 
close/cancelled Lead, and try to click on the "Convert to opportunity" button 
on top-right of the form. It should fail to open the wizard because 
default_get() raises an exception (coming from view_init()). The opening of the 
wizard should be aborted and the error message should be displayed.
It works in GTK indeed.

Thanks for reporting!

** Summary changed:

- [6.0RC2] wizard does not display "raise osv.except_osv" defined in view_init
+ [6.0RC2] opening wizard is not cancelled by exception from default_get()

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

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

** Changed in: openobject-client-web
    Milestone: None => 6.0

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

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/702453

Title:
  [6.0RC2] opening wizard is not cancelled by exception from
  default_get()

Status in OpenObject Web Client:
  Confirmed

Bug description:
  see testcase in attachment
  the wizard should only run for account type "other" and open periods
  the message
  raise osv.except_osv(_('Warning !'),'This wizard is for valid posted moves 
only. You must modify draft moves directly')
  is not displayed on the screen

  Accounting/Journal Entries/Journal Items - > select line with payable / 
receivable -> change account 
  should raise error message

  works with GTK



_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to