Commit Graph

85 Commits

Author SHA1 Message Date
Vo Minh Thu 7797702a9f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110812130941-z2x2bjr310r4ynu8
2011-08-12 15:09:41 +02:00
Vo Minh Thu ddd65ab5c1 [REF] osv: removed orm_memory, adapted the distinguished bits to osv_memory,
so yes, there are still two user-visible classes instead of a boolean flag.

bzr revid: vmt@openerp.com-20110812124128-43rr422swy6h2vs8
2011-08-12 14:41:28 +02:00
Vo Minh Thu 2f5e8d48b3 [REF] osv: moved (and adapted) vacuum code to osv_memory.
bzr revid: vmt@openerp.com-20110812113355-lylavdsc3mqjovrj
2011-08-12 13:33:55 +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
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 44d41334d7 [REF] osv: osv_memory is really just osv,
the change is not enough as we still want to differentiate between regular osv and osv
that should be wiped from the db from time to time.

bzr revid: vmt@openerp.com-20110728082752-39jur9oo0m93ebzh
2011-07-28 10:27:52 +02:00
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
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
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