Cédric Krier
c66b3c9755
Remove some class instances and move it in the __init__
...
This make inheritance easier
2008-03-04 11:49:32 +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
Bertrand Chenal
320e820ba6
Merge with upstream repo
2008-02-28 13:42:56 +01:00
Bertrand Chenal
878a762016
Move all import stuff out of model.py and put it in convert.py.
...
Other modifications:
* less memory hungry implementation.
* now delete record in the reverse order of creation.
* Workflow transtion are deleted only if the corresponding activity
is deleted.
2008-02-28 13:36:28 +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
b8bb522a8d
Set fs2values also when create object because it can be used by an
...
inherited record
2008-02-22 13:59:14 +01:00
Cédric Krier
3a0b0e39cd
Give in context the module when re-create missing record
2008-02-22 12:52:20 +01:00
Cédric Krier
5ad40d33b6
Fix update inherited record
...
Don't delete fs2value, just put it to None
2008-02-21 23:53:12 +01:00
Cédric Krier
c7b2ca6edd
Add groups to action and filtering rule
2008-02-21 23:13:51 +01:00
Cédric Krier
abd591b246
Fix update when one record was deleted manually
2008-02-21 19:15:24 +01:00
Cédric Krier
34411a07d0
Improve ir.model and ir.model.access
...
- Fix check for new root id (=0)
- Better view
- Remove name on access -> description
- Use the name of model instead of internal name
2008-02-21 16:38:43 +01:00
Cédric Krier
e80cc145ba
Better override
2008-02-19 13:00:20 +01:00
Cédric Krier
06c55abadd
Rename all fields '_id' from workflow
2008-02-17 16:57:34 +01:00
Cédric Krier
b4a50d5894
Fix typo in ir.model.data
2008-02-17 15:07:04 +01:00
Cédric Krier
4df4259d2e
Rename model_id and group_id into model and group
2008-02-17 15:02:21 +01:00
Cédric Krier
77bfafca6a
Rename ir.model.fields into ir.model.field
2008-02-17 14:52:56 +01:00
Cédric Krier
f262c3c960
Rename field_id into fields
2008-02-17 14:25:08 +01:00
Cédric Krier
bd928806f6
Improve translation
...
- Translation file by modules
- Add fuzzy behavior
- Add english translation dynamically
- Add wizard to export / update translation
- Add french translation of ir module
- Move res.lang into ir.lang
2008-02-11 14:01:47 +01:00
Cédric Krier
d4b488a61a
Fix import ExceptORM
2008-02-06 19:47:20 +01:00
Cédric Krier
e7dcbda898
Merge
2008-02-03 02:22:32 +01:00
Cédric Krier
22f0570f2b
Improve error message
2008-02-01 18:59:07 +01:00
Bertrand Chenal
fb3638a6f2
Guidelines
2008-01-28 23:34:32 +01:00
Bertrand Chenal
d0801dc281
Fix: handle correctly at the update time the values that where modified before being written in the db.
...
Now when a value is written, it is re-read before being stored in model_data.
2008-01-20 02:03:12 +01:00
Bertrand Chenal
a489bd2be9
Merge
2008-01-18 01:45:33 +01:00
Bertrand Chenal
ddc22530d2
Use a browse instead of a read to acces data.
2008-01-18 01:41:45 +01:00
Bertrand Chenal
443879c43c
Handle correctly access to inherited fields
2008-01-18 00:14:52 +01:00
Cédric Krier
a7b7ae7df0
Fix ORM to update the ondelete value
...
Fix init.sql to match the ORM
2008-01-17 23:12:33 +01:00
Bertrand Chenal
6f0e39241c
The field by field update was completely crappy, now it's better.
2008-01-11 00:11:26 +01:00
Bertrand Chenal
5208fd492c
Import of data: some speed imporvement and better memory footprint (i hope).
2008-01-07 23:31:37 +01:00
Bertrand Chenal
277e5e4460
Function in ir.model.data rewriten to improve performance.
2008-01-07 03:25:18 +01:00
Bertrand Chenal
99dc7138df
Removed print statement
2007-12-29 16:42:35 +01:00
Bertrand Chenal
5fdbb62df5
WIP Sax api: added support for search and ref attributes, adding cdata to some xml's and added support for cdata in dom parser
2007-12-29 16:19:34 +01:00
Bertrand Chenal
2648bd1ead
Removed plurals on user, role and group
2007-12-17 23:34:43 +01:00
ced@b2ck.com
03bfac7984
Add xml for module res and fix some typo
2007-12-13 01:16:12 +01:00
ced@b2ck.com
9d971a0008
Initial commit
...
- add license
- add run script
- add config parser
- add service object
- add web_service
- add workflow
- add osv/orm/fields
- add module management
- add ir module
2007-12-10 01:04:13 +01:00