c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23198
[Bug 776124] [NEW] constraints - variable message text necessary
Public bug reported:
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
** Affects: openobject-server
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References