Commit Graph
42 Commits
Author SHA1 Message Date
Cédric Krier 2b8a71af22 Remove ids from on_change* calls 2010-03-18 18:14:54 +01:00
Cédric Krier dd6918994f New interface for Function/Property fields
Function field takes an other field in parameters
set/get function on Fields take a list of ids
2010-03-11 16:42:50 +01:00
Cédric Krier 847fb72e90 Add PySON to replace python string evaluation on client side 2010-01-20 10:55:19 +01:00
Cédric Krier cae0a76a3d Remove egenix-mx-base and replace it by python-dateutil 2009-12-17 11:39:54 +01:00
Cédric Krier 0b54d06a9b Use model browse for models_get for issue949 2009-04-07 20:22:22 +02:00
Cédric Krier 2f2053c8d0 Add domain to act_to of request because active_test is in the context for
issue945
2009-04-07 19:22:11 +02:00
Cédric Krier 79770de235 Remove duplicated field 2009-03-23 14:56:20 +01:00
Cédric Krier 2d5396946c Add missing string 2009-03-22 14:05:17 +01:00
Cédric Krier 6a622e7678 Remove _table from res.request 2009-03-17 18:56:28 +01:00
Cédric Krier c9992e11d2 Remove OSV and WizardOSV and move Cacheable into model 2009-02-28 16:56:54 +01:00
Cédric Krier f87c1c44f3 Cast user into int for default value for issue818 2009-02-26 00:37:31 +01:00
Cédric Krier a4b9258b71 Rename _rpc_allowed into _rpc and add commit behavior 2009-02-25 12:25:01 +01:00
Cédric Krier 66f0ada474 Allow to use related fields (many2one and reference) in read
Use rec_name function field instead of name_get and name_search
Remove get function on many2one field
Don't put record name in reference field
Handle rec_name in default_get so default value for many2one are now only id
2009-02-17 11:40:31 +01:00
Cédric Krier c0ab5ea7a0 Order request by priority must be on internal value 2009-01-23 23:52:03 +01:00
Cédric Krier a2fdc35245 Call name_get for default value of user 2008-12-11 17:04:46 +01:00
Cédric Krier cce6aa7b71 Add some more field in request history for issue507
Prevent the write on request history
2008-11-06 00:01:04 +01:00
Bertrand Chenal 7777682955 Change order on requests: put the last on top of list 2008-10-18 01:27:20 +02:00
Cédric Krier 13ce9f7059 Add missing context to search 2008-10-13 13:39:46 +02:00
Cédric Krier b048c000bd Use search instead of SQL query 2008-10-13 13:39:27 +02:00
Cédric Krier 882ce44bf1 Use now() for trigger_date comparaison instead of date for issue345 2008-09-10 13:22:39 +02:00
Cédric Krier 55e3ae8ef5 Replace active state by chatting
Put cursor on act_to field
2008-09-10 01:13:38 +02:00
Cédric Krier a1df4aadf5 Add number_references on request for issue339 2008-09-10 01:06:47 +02:00
Cédric Krier 7a8b18d287 Excelude draft request from the user 2008-09-09 13:08:57 +02:00
Cédric Krier 826eda45a3 Improve request view
Add request reference object to handle many references
Improve readonly states depending on user
2008-09-09 11:19:24 +02:00
Cédric Krier 81a99b7ecf Remove test on trigger date for request from user for issue334 2008-09-08 15:06:52 +02:00
Cédric Krier d71b9cf71a Change object in request link into selection on model for issue336 2008-09-08 14:50:58 +02:00
Cédric Krier b66c04c1d7 Remove size constraint 2008-07-04 17:36:12 +02:00
Cédric Krier 0232c66506 Fix COPYRIGHT 2008-06-23 20:18:54 +02:00
Cédric Krier 8fc4a98304 Use dict for _order on ORM object.
_order is now an instanciate variable.
It is a dict like this:
[('name', 'ASC'), ('id', 'ASC')]
2008-04-22 17:47:24 +02:00
Cédric Krier db410a3fc8 Make _rpc_allowed no more a class instance and add selection and reference
methods to it
2008-03-03 19:10:57 +01:00
Cédric Krier ac142e65a4 Remove pool from args of __init__ of OSV
More simple to inherit
2008-03-03 18:30:39 +01:00
Cédric Krier a013c3bdca Change all query with %d into %s for psycopg2 2008-02-27 11:10:51 +01:00
Cédric Krier d80152ce78 Remove _defaults dict and replace by default_ function to allow easy override 2008-02-26 16:23:05 +01:00
Cédric Krier c6948c3f35 Remove _columns dict and put it directly in the object to reflect better the
browserecord
2008-02-26 12:40:40 +01:00
Cédric Krier e8742381c8 Rename req_id into request 2008-02-17 16:09:52 +01:00
Cédric Krier b38c97bd4a Fix inheritance in __init__
- Add field only if pool is not None
- Don't append to mutable object because they are static in ORM object so they
  will be change for all objects
2008-02-17 02:36:25 +01:00
Cédric Krier 1013a93e33 Add rpc_allowed to improve security on object
A method can only call by rpc if it is in _rpc_allowed list
2008-02-15 18:26:51 +01:00
Cédric Krier eaf8d9853e Use string for selection on fields instead of function
- View cache works without clean the cache
- Allow override the function without modify the field
2008-02-12 15:17:35 +01:00
Cédric Krier ae1d2fb395 Change states definition to use any fields 2008-02-06 00:24:39 +01:00
Cédric Krier 1a554f0e55 Use ORM for request 2008-01-26 16:26:11 +01:00
Bertrand Chenal 2648bd1ead Removed plurals on user, role and group 2007-12-17 23:34:43 +01:00
ced@b2ck.com 622eed7875 Add module res and fix module graph when there is dependencies
Remove no usefull initialization of context variable
2007-12-13 00:22:10 +01:00