← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1314557] [NEW] web kanban on_record_moved method does not display openerp raised osv exception Edit

 

Public bug reported:

on_record_moved method from the web_kanban web module, does not display
openerp raised osv exception.

It only shows the following message : "An error has occured while moving
the record to this group: undefined"

alert(_t("An error has occured while moving the record to this group: ")
+ data.fault_code); shoud be replace by :

alert(_t("An error has occured while moving the record to this group: ")
+ error.data.fault_code);

** Affects: ocb-web
     Importance: Undecided
         Status: New

** Branch linked: lp:~fjouatte/ocb-web/7.0-fjouatte-fix-kanban-error

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Web).
https://bugs.launchpad.net/bugs/1314557

Title:
  web kanban on_record_moved method does not display openerp raised osv
  exception Edit

Status in OpenERP Community Backports (Web):
  New

Bug description:
  on_record_moved method from the web_kanban web module, does not
  display openerp raised osv exception.

  It only shows the following message : "An error has occured while
  moving the record to this group: undefined"

  alert(_t("An error has occured while moving the record to this group:
  ") + data.fault_code); shoud be replace by :

  alert(_t("An error has occured while moving the record to this group:
  ") + error.data.fault_code);

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-web/+bug/1314557/+subscriptions


Follow ups

References