Vo Minh Thu
a13109ea93
[REVERT] re-apply the 4 commits that were reverted just after, 4 commits ago.
...
bzr revid: vmt@openerp.com-20110705122222-bhim9uft3l3sqee8
2011-07-05 14:22:22 +02:00
P. Christeas
7c8665bb69
[MERGE] docstrings improvements and preparation for api-doc structure
...
bzr revid: odo@openerp.com-20110701231956-93zu7xtibpo06eqm
2011-07-02 01:19:56 +02:00
Olivier Dony
1ac0c5f053
[REVERT] last 4 revisions on fields_view_get, need further review
...
bzr revid: odo@openerp.com-20110701151839-g8nhfr4z8pmkflah
2011-07-01 17:18:39 +02:00
Vo Minh Thu
8845ae1259
[IMP]: fields_view_get: respect priority of node over fields, and of static invisible over dynamic invisible.
...
bzr revid: vmt@openerp.com-20110630153334-d34qep1727gdbh8l
2011-06-30 17:33:34 +02:00
Vo Minh Thu
b8cc3b0d47
[REF]: fields_view_get: continuing the merge of attrs:
...
- pass a flag to __view_look_dom indicating if we are in a tree view
(this is needed as it can contain more complex expression, and its meaning
is different as it affects the tree column, instead of a single field on a line).
- pass the result of fields_get to __view_look_dom to let it augment
the nodes with info from the python fields.
bzr revid: vmt@openerp.com-20110628142753-7819z5sp39qxfxev
2011-06-28 16:27:53 +02:00
Vo Minh Thu
8beaaedd0a
[IMP] fields_view_get: began to handle states attr server-side.
...
bzr revid: vmt@openerp.com-20110623101030-95t095jp5evdb1c3
2011-06-23 12:10:30 +02:00
P. Christeas
cf6e623f7d
API docs: settings file and titles at modules
...
bzr revid: xrg@linux.gr-20110623090357-nazly8vpfnw0iskr
2011-06-23 12:03:57 +03:00
P. Christeas
b0f06f7e52
orm, tools, addons: Doc strings improvements
...
bzr revid: xrg@linux.gr-20110623090228-4gn6xoyykcvfhv13
2011-06-23 12:02:28 +03:00
Vo Minh Thu
0e6668a391
[MERGE] ir_model_data unlinking does not use _unlink anymore, clears caches.
...
bzr revid: vmt@openerp.com-20110622135344-i4u23z22binbq8h1
2011-06-22 15:53:44 +02:00
Vo Minh Thu
88b74dd315
[REF] fields_view_get: merge fields attributes inside the architecture as a new attribute.
...
bzr revid: vmt@openerp.com-20110622083833-xoh5b5r08xxgljqs
2011-06-22 10:38:33 +02:00
Vo Minh Thu
027d082936
[MERGE] some refactoring in fields_view_get.
...
bzr revid: vmt@openerp.com-20110627132601-qw6ejx2v4xywq4ai
2011-06-27 15:26:01 +02:00
Vo Minh Thu
a8facfdb38
[MERGE] fix regression
...
introduced at revno: 3466, revision-id: vmt@openerp.com-20110617072608-5tmwf2g2qb0pwrhk
bzr revid: vmt@openerp.com-20110627104748-hvvc3sb7nmxk85db
2011-06-27 12:47:48 +02:00
Vo Minh Thu
ab0d721416
[REF] orm: added TODOs.
...
bzr revid: vmt@openerp.com-20110627095059-lf8lctk1z0yawgrk
2011-06-27 11:50:59 +02:00
Olivier Dony
8654be5ca3
[FIX] orm.unlink(): cascade deletion of ir.model.data performed as admin
...
Also replaced all uid == 1 references with a ROOT_USER_ID constant,
to make it more explicit.
bzr revid: odo@openerp.com-20110627092538-kq8hrjoii5o9l7k4
2011-06-27 11:25:38 +02:00
Olivier Dony
301497c543
[IMP] lint cleanup
...
bzr revid: odo@openerp.com-20110624133335-jf5kg6dh9kgxw2dg
2011-06-24 15:33:35 +02:00
Olivier Dony
60cbf9bf14
[MERGE] sync with trunk
...
bzr revid: odo@openerp.com-20110624102631-kiy8j2d1fc7heeco
2011-06-24 12:26:31 +02:00
Vo Minh Thu
f3b7293c2e
[REF] orm: add a column_info class to represent entries in _inherit_fields,
...
code comes from the trunk-sharing-features branch (by odo).
bzr revid: vmt@openerp.com-20110621155342-8a3o153rkpsd5s12
2011-06-21 17:53:42 +02:00
Vo Minh Thu
802ecdd6cf
[REF] orm/_inherits_reload: unnecessary dict.update() (the entries are manually updated afterwards).
...
bzr revid: vmt@openerp.com-20110621144543-z03m9rceohmayjxu
2011-06-21 16:45:43 +02:00
Vo Minh Thu
41b066a085
[FIX] fields_view_get: corrected an error introduced at rev 3467.
...
bzr revid: vmt@openerp.com-20110620141005-togs3phmto931wle
2011-06-20 16:10:05 +02:00
Vo Minh Thu
ee5eb80951
[FIX] orm/fields_view_get: translate correctly confirm/sum/help:
...
- view_header_get can override the string attribute but should
not prevent the translation of the other attributes.
- the problem goes back to revno 319 when there was only a string and sum was added.
bzr revid: vmt@openerp.com-20110620120600-lu9csho8ws2habfp
2011-06-20 14:06:00 +02:00
Vo Minh Thu
53f594eb67
[REF] orm/fields_view_get: replaced simple loop by dict.update().
...
bzr revid: vmt@openerp.com-20110620120157-xwf09egoyq3xc5qo
2011-06-20 14:01:57 +02:00
Yogesh (OpenERP)
f6c88941f5
[FIX] fix problem of improve condtion of checking key is available in dict.
...
lp bug: https://launchpad.net/bugs/799637 fixed
bzr revid: ysa@tinyerp.com-20110620110330-brg01vy68rmo6wiq
2011-06-20 16:33:30 +05:30
Vo Minh Thu
8645487d61
[FIX] orm: typo in fields_view_get.
...
bzr revid: vmt@openerp.com-20110620095642-3vx11f7cqad2e71k
2011-06-20 11:56:42 +02:00
Olivier Dony
36d98cb14f
[FIX] orm.fields_get: typo in last refactoring
...
bzr revid: odo@openerp.com-20110619115701-q06la7l6jhmihdk6
2011-06-19 13:57:01 +02:00
Olivier Dony
6df3bc8b67
[FIX] orm.fields_get: typo in last refactoring
...
bzr revid: odo@openerp.com-20110619115410-bdmd4zcm3o69515o
2011-06-19 13:54:10 +02:00
Olivier Dony
4f6bee5bf7
[MERGE] latest trunk
...
bzr revid: odo@openerp.com-20110617170517-pvhf772lewqk3z8c
2011-06-17 19:05:17 +02:00
Vo Minh Thu
f46cfc589d
[REF] fields_viw_get: trying to get something clearer...
...
bzr revid: vmt@openerp.com-20110617154440-i013qj8qukxhqhnl
2011-06-17 17:44:40 +02:00
Vo Minh Thu
aca951da39
[REF] orm: simpler `_find` function, renamed `locate`.
...
bzr revid: vmt@openerp.com-20110617093126-v0951wvy48r1db4h
2011-06-17 11:31:26 +02:00
Vo Minh Thu
ccca7e938a
[REF] orm: fields_get in pieces, now with docstring.
...
bzr revid: vmt@openerp.com-20110617072608-5tmwf2g2qb0pwrhk
2011-06-17 09:26:08 +02:00
Vo Minh Thu
abb606aa7c
[MERGE] orm: _auto_init made of smaller methods, use a metaclass to discover new models.
...
bzr revid: vmt@openerp.com-20110615160123-7bk8u94y916mdpkj
2011-06-15 18:01:23 +02:00
Vo Minh Thu
dc4ee86376
[REF] osv: use a metaclass to discover new models.
...
bzr revid: vmt@openerp.com-20110615102115-sjobt06ag72xiqaf
2011-06-15 12:21:15 +02:00
Vo Minh Thu
26f22874d9
[LINT] removed unused variable, forgot to change two variables in last commit, corrected typo introduced at 3417.6.6.
...
bzr revid: vmt@openerp.com-20110615072231-jh977xk1jupekkpp
2011-06-15 09:22:31 +02:00
Vo Minh Thu
e375049414
[REF] osv: moved osv_pool to modules/registry.
...
bzr revid: vmt@openerp.com-20110614142226-yd3y39a8z3ubwvxm
2011-06-14 16:22:26 +02:00
Vo Minh Thu
8965db1ec2
[DEL] orm: removed half-baked fix.
...
bzr revid: vmt@openerp.com-20110614113354-rcsyua15m1kqhrgj
2011-06-14 13:33:54 +02:00
Vo Minh Thu
e360ae580a
[REF] orm: added some comments.
...
bzr revid: vmt@openerp.com-20110614101311-bjy33thvzfnla74t
2011-06-14 12:13:11 +02:00
Vo Minh Thu
08b750af47
[REF] orm: brake _auto_init in shorter methods.
...
bzr revid: vmt@openerp.com-20110614093715-yxaiqd2xzf6vdy8w
2011-06-14 11:37:15 +02:00
Vo Minh Thu
75b8291486
[IMP] orm: added comment, and delete an attribute when it is no more needed.
...
bzr revid: vmt@openerp.com-20110614084415-0noz6dlclnr09sbh
2011-06-14 10:44:15 +02:00
Nicolas Vanhoren
68102fecd1
[MERGE] addition of name_create() ORM method for new m2o behavior in 6.1
...
bzr revid: odo@openerp.com-20110610173130-3dvj5t2ji8buwjrg
2011-06-10 19:31:30 +02:00
niv-openerp
f888b06959
[imp] added method name_create to orm
...
bzr revid: nicolas.vanhoren@openerp.com-20110610161002-76kfpwb1xexryfmh
2011-06-10 18:10:02 +02:00
Vo Minh Thu
1b45a892dd
[REF] orm: defer foreign key creation.
...
bzr revid: vmt@openerp.com-20110610140521-mdd6zvvzeoubier4
2011-06-10 16:05:21 +02:00
Olivier Dony
bf0e9e923c
[FIX] osv_memory: load config params in __init__ to avoid uninitialized values
...
bzr revid: odo@openerp.com-20110601055031-xyungliji7snspsj
2011-06-01 07:50:31 +02:00
Olivier Dony
bae7ef7732
[MERGE] merged with latest trunk
...
bzr revid: odo@openerp.com-20110531132023-or3mm8ccgbh8qmwa
2011-05-31 15:20:23 +02:00
Olivier Dony
f6f4618fb0
[IMP] orm: minor typo and improvement in handling of ir.model.data during unlink()
...
bzr revid: odo@openerp.com-20110531092232-pyt85iw2q7bf6qp1
2011-05-31 11:22:32 +02:00
Vo Minh Thu
554b33978a
[IMP] osv: removed unnecessary module arg, added comments.
...
bzr revid: vmt@openerp.com-20110527123236-tvd4jgco8iigmrxh
2011-05-27 14:32:36 +02:00
Vo Minh Thu
ee58f9da5f
[FIX] osv_pool: it appears it is necessary to have the model in the pool earlier on.
...
bzr revid: vmt@openerp.com-20110527100310-qw9760rd8spiwjgm
2011-05-27 12:03:10 +02:00
Vo Minh Thu
a87ebe9600
[REF] osv:
...
- make it more explcicit in osv_pool that afreshly instanciated object is added to the pool
- osv_pool.init_set() is called just once with False, so
no need to check if it is the first time it is called or
if is called with True
- and rename it in do_parent_store as it is what it does.
bzr revid: vmt@openerp.com-20110526210532-a8i91shptz5h4k48
2011-05-26 23:05:32 +02:00
Vo Minh Thu
131def0f9e
[REF] osv: osv classes merged inside orm classes.
...
- osv_base removed
- osv_memory and osv are synonyms for orm_memory and orm.
bzr revid: vmt@openerp.com-20110526182445-po5xqt7sjcmzompl
2011-05-26 20:24:45 +02:00
Vo Minh Thu
2f6dff7690
[MERGE] moved around some code (preparing for some refactoring) (large diff).
...
bzr revid: vmt@openerp.com-20110525160607-45pq13910rduijkk
2011-05-25 18:06:07 +02:00
Vo Minh Thu
959ff88d64
[MERGE] orm: correctly store in db the translate flag.
...
bzr revid: vmt@openerp.com-20110525154411-c6eg6mpo31yseldi
2011-05-25 17:44:11 +02:00
Vo Minh Thu
823abab958
[MERGE] merged changes from 6.0
...
bzr revid: vmt@openerp.com-20110525151149-78gkoolppmjekrl6
2011-05-25 17:11:49 +02:00