- 17 Dec, 2007 17 commits
-
-
Jérome Perrin authored
Also change the behaviour a bit, don't raise an Exception directly, constraints should *not* raise exceptions, simply use _generateError. What we should do is add support for different severity in Constraints framework. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18369 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18368 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18367 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18366 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18365 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
each constraint class are predefined on the class and constraint users can override the message in the propertysheet. The motivation is to be able to provide user friendly context dependant messages, eg. "Please Enter the Shipping Date" instead of technical messages like "Property start_date is not defined". See test_OverrideMessage for an example use, and the interface for more info. (Also add a new CategoryAcquiredExistence constraint) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18364 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Alexandre Boeglin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18363 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18362 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Move all code relative to dict_length_ids in a code which access is controled by "store" value. This prevents portal_ids' persistent object modifications when "store" is false. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18361 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18359 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Alexandre Boeglin authored
another timezone than UTC. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18358 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18357 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18356 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Alexandre Boeglin authored
- remove duplicate empty entries in frequency lists - add '0' entries in hour and minute lists - replace map(lambda) by list comprehensions git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18355 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18354 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
well update an modify it git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18353 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18352 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Dec, 2007 5 commits
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18351 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18350 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18349 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- add a "Model Inheritance" column in PaySheetModelModule_viewPaySheetModelList listbox git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18348 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Rafael Monnerat authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18347 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Dec, 2007 3 commits
-
-
Fabien Morin authored
sub objects of a model are already added, the model will not be present in the final dict. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18346 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
wich use a Breadth First Search instead of Depth First Search witch is very more appropiate in this case. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18345 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- remove commented code - modify getInheritanceModelReferenceDict method to use a Breadth First Search instead of Depth First Search witch is very more appropiate in this case. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18344 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Dec, 2007 14 commits
-
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18337 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18336 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- change the method who get annotation/ratio line from a reference to search first on the paysheet before on the dependencies model tree - remove some logs git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18335 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18334 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18333 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Make worklist definition more realistic. It fixes a bug in SQL-cached version of worklist test, because the same objects caused 2 lines to be present in worklist cache, which are summed afterward - hence causing a 2-objects worklist to be displayed when there is actualy just one object. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18332 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Alexandre Boeglin authored
rendered as utf-8 encoded strings, it is incompatible with Products that expect them to render as unicode objects. - this patch is based on MailTemplates 1.1.0 - it will only try to encode() text if it's of type unicode git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18331 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18330 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
matter. Now subobject are not yet copied but just gets from there path and return a list of them git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18329 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
a list of all subobjects from the herited model - rename getReferenceList in getReferenceDict, and now, this method return reference and id (dict) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18328 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Handle the case where owner does not have view permission on object. It cannot be handled with a NULL nicely, because NOT(NULL) AND [...] is always false in SQL, and it is required to negate conditions automaticaly for worklists. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18327 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
PaySheetTransaction class because object are copied into the paysheet, not in the model git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18325 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18324 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
Use an ERP5 user instead of a ZODB user, so that the test does not need to use global roles. Add a test to check strict security in simulation (which may not work at the moment). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18323 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Dec, 2007 1 commit
-
-
Fabien Morin authored
add a test to check that all sub-objects of the inheritance model dependencies have been copied into the base model. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18322 20353a03-c40f-0410-a6d1-a30d3c3de9de
-