Olivier Dony
2f47cf8558
[IMP] orm,orm_memory: more consistent implementations of exists() and check_access_rule()
...
bzr revid: odo@openerp.com-20110909154926-1sk6kypbb11fx7oq
2011-09-09 17:49:26 +02:00
Olivier Dony
caef9821a3
[MERGE] latest trunk
...
bzr revid: odo@openerp.com-20110906080822-tyadkxvycrx7bl1d
2011-09-06 10:08:22 +02:00
Xavier Morel
ddadb2ce75
[FIX] issue in splitting field paths for export: would create empty path sections because too eager
...
do replacement in two passes of re-base replacement: replace old-style 'field:id' and 'field.id' in resp. 'field/id' and 'field/.id', don't touch anything else (especially not 'field/.id') and leave them through instead.
bzr revid: xmo@openerp.com-20110831094547-8evd7ecm5qojspnr
2011-08-31 11:45:47 +02:00
Vo Minh Thu
bdd0c7cf3f
[IMP] simplified cache implementation (and stored on the osv), does not support contexts.
...
bzr revid: vmt@openerp.com-20110830121541-abov2wezdn6kl2dc
2011-08-30 14:15:41 +02:00
Antony Lesuisse
be328ad7c3
[MERGE] trunk
...
bzr revid: al@openerp.com-20110827213628-4kflylkgtln6o4k4
2011-08-27 23:36:28 +02:00
Olivier Dony
3f00bfc405
[FIX] registry: use a unique list of models to load per module
...
This is necessary to preserve the model loading order
as defined in the module. This was broken when the
metaclass was introduced to make the explicit model
constructor call optional.
One consequence is that the order in which the classes
are declared in the module really defines their
initialization order, even if the constructors are
later called explcitly in a different order.
This latter case should be fairly rare, and easy to
fix too - simply putting the class declaration in the
right order.
bzr revid: odo@openerp.com-20110826161736-lgnpurtbcqtbseey
2011-08-26 18:17:36 +02:00
Vo Minh Thu
6fdadb04f5
[IMP] tools.cache: added missing clean_caches_for_db replacement.
...
bzr revid: vmt@openerp.com-20110825124711-y2uckmvcoa0arz4h
2011-08-25 14:47:11 +02:00
Antony Lesuisse
86965e3884
[FIX] orm ir.translation get_source to use positional args
...
bzr revid: al@openerp.com-20110824231131-y33ng5x4d6j2vr6w
2011-08-25 01:11:31 +02:00
Antony Lesuisse
fd83621463
[MERGE] trunk
...
bzr revid: al@openerp.com-20110824160936-ej26wcvgvku3lkm7
2011-08-24 18:09:36 +02:00
Olivier Dony
3fa9dcea34
[MERGE] latest trunk
...
bzr revid: odo@openerp.com-20110819150201-pas7z2md5sa3bk7e
2011-08-19 17:02:01 +02:00
Antony Lesuisse
2f9f557e18
[FIX] get rid of unsued menus and submenu
...
bzr revid: al@openerp.com-20110811181217-y2yxdz34uswijwza
2011-08-11 20:12:17 +02:00
Olivier Dony
c90c1a735d
[MERGE] latest trunk
...
bzr revid: odo@openerp.com-20110809160953-i1yrg5knplw4jy9l
2011-08-09 18:09:53 +02:00
Antony Lesuisse
330e12c557
[MERGE] trunk-usability-config-log-rco
...
bzr revid: al@openerp.com-20110806015221-jumsqgm6a9ofknr7
2011-08-06 03:52:21 +02:00
Raphael Collet
2d353ca2f8
[IMP] disable res.log when running config wizards; to be tested
...
bzr revid: rco@openerp.com-20110805153134-snpfjuw859wkrq36
2011-08-05 17:31:34 +02:00
gpa
66b0db7d3b
[FIXED] Fixed the problem keyerror id
...
bzr revid: gpa@tinyerp.com-20110729133455-oed1zbu6qv9aa4uo
2011-07-29 19:04:55 +05:30
Vo Minh Thu
f59a0b6025
[MERGE] import: support for comma-separated ids in one2many, actually link the records.
...
- not a real merge, as I just recovered the diff. original code by tfr.
bzr revid: vmt@openerp.com-20110719122802-64jxm0h5uftsf94k
2011-07-19 14:28:02 +02:00
Olivier Dony
9f3fd2a1fc
[FIX] orm: avoid crash when an osv inherits from an osv_mem that has no _sql_constraints
...
bzr revid: odo@openerp.com-20110718173151-hsq5pyzq8l5w1j7n
2011-07-18 19:31:51 +02:00
Olivier Dony
aa749dd921
[IMP] browse_record: add refresh() method for discarding the cache
...
bzr revid: odo@openerp.com-20110718173044-56mxet191sog3hfm
2011-07-18 19:30:44 +02:00
Xavier Morel
d45e291329
[FIX] name of ordering param in read_group docstring: it's orderby not order
...
bzr revid: xmo@openerp.com-20110713092003-83ot1xsivziy4p33
2011-07-13 11:20:03 +02:00
Antony Lesuisse
7c01ea22f3
[FIX] apply some merge review feeback
...
bzr revid: al@openerp.com-20110712143532-s0jeuh5rglzwijpn
2011-07-12 16:35:32 +02:00
niv-openerp
4793c68939
[imp] Improved modifiers algorithm to also take the "states" attribute into account.
...
bzr revid: nicolas.vanhoren@openerp.com-20110707155135-jjinihfc6kylwf9k
2011-07-07 17:51:35 +02:00
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