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