← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 776124] Re: constraints - variable message text necessary

 

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

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

Title:
  constraints - variable message text necessary

Status in OpenERP Server:
  Confirmed

Bug description:
  currently it seems that constraints can hold only constant message text which is not sufficient to hande constraint violations in big data sets.
  Example import some 100 account moves, one is wrong.
  currently i found as only helpful strategy to print a more verbose message in the server log
  print >> sys.stderr ... or using OpenEPS internal
  but this can't be a solution to help users
  or do I miss something ?  

  this method should be be changed in ALL constraints
  message should contain
  * message (as now)
  * resource name
  * human readable "primary" keys like (account_number, product_name, invoice number... )
  * resource id


References