Commit Graph

1203 Commits

Author SHA1 Message Date
Antony Lesuisse b91d70a42d [MERGE] trunk
bzr revid: al@openerp.com-20110925000038-qwfvcrmndstygt2d
2011-09-25 02:00:38 +02:00
Vo Minh Thu 58ebd45efe [IMP] openerp.service: import at the top.
bzr revid: vmt@openerp.com-20110924163358-svx1yjuwdybxxr6k
2011-09-24 18:33:58 +02:00
Antony Lesuisse 02ee5ee64c [FIX] remove old-style test wsgi hook
bzr revid: al@openerp.com-20110924152401-5ilujqvg6gnhdrbz
2011-09-24 17:24:01 +02:00
Antony Lesuisse 73cdf6159e [FIX] wsgi server listen to ipv4 0.0.0.0
bzr revid: al@openerp.com-20110924151831-7nra57wpqq6oqose
2011-09-24 17:18:31 +02:00
Vo Minh Thu 4268ca38b7 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110924145449-1lfkhix60fdsucoy
2011-09-24 16:54:49 +02:00
Antony Lesuisse 7a88d9058d [MERGE] trunk
bzr revid: al@openerp.com-20110924145258-16r9qi7hr3dip1jz
2011-09-24 16:52:58 +02:00
Olivier Dony 7fad826761 [FIX] osv_memory_autovacuum: typo
bzr revid: odo@openerp.com-20110924025951-zn3i5vgux35urbyp
2011-09-24 04:59:51 +02:00
Olivier Dony 1bf74fa77e [MERGE] no-op merge of trunk, discarding osv-memory fix, obsolete already
bzr revid: odo@openerp.com-20110924022846-p08bawfxh5lym37u
bzr revid: odo@openerp.com-20110924025346-1khpike23e2honll
2011-09-24 04:53:46 +02:00
Olivier Dony dfccbaf28b [FIX] orm,expression: special-case previous commit for osv_memory
This will soon be obsolete and deleted, as soon
as osv_memory will be removed and merged inside
normal osv.

bzr revid: odo@openerp.com-20110924024928-awgncvhcyfkmnak5
2011-09-24 04:49:28 +02:00
Olivier Dony 67dcd97ea6 [FIX] orm,expression: sanity checks for domain terms, cleanup, tests
bzr revid: odo@openerp.com-20110924020303-2amkx95ij1yp8ofk
2011-09-24 04:03:03 +02:00
Olivier Dony e85f246469 [IMP] sql_db: auto-exception-logging can now be turned off per cursor, not only per query
bzr revid: odo@openerp.com-20110924015852-9vru7cdsmzbvault
2011-09-24 03:58:52 +02:00
Olivier Dony 334dee0479 [IMP] orm: fix Model hierarchy to avoid TransientModel leaking downstream
bzr revid: odo@openerp.com-20110923174018-8l2b4qc1vecgs0sc
2011-09-23 19:40:18 +02:00
Olivier Dony 3b974972a3 [IMP] review/cleanup + fix TransientModels inheritance
bzr revid: odo@openerp.com-20110923163027-50ov6qj3daax8hpi
2011-09-23 18:30:27 +02:00
Olivier Dony f2f3c916c9 [REM] orm: m2m._no_foreign_keys attribute removed, replaced by SQL check
bzr revid: odo@openerp.com-20110923162929-nhl32ie6zc6uuj8h
2011-09-23 18:29:29 +02:00
Olivier Dony 32b50ddca0 [FIX] ir.model: typo - ir.model.model is the model `identifier`
bzr revid: odo@openerp.com-20110923154514-8dzodtebfik892g3
2011-09-23 17:45:14 +02:00
Olivier Dony 49be41eceb [FIX] orm.py: missing patch, lost during last merge
See corresponding patch from trunk at revision
3612 revid:odo@openerp.com-20110919091952-05lfl2kncr3ep9nj

bzr revid: odo@openerp.com-20110923145517-odyq9z1h5ibck6nu
2011-09-23 16:55:17 +02:00
Olivier Dony 2fbd4dfcdf [FIX] loading: remove leftover debugging breakpoint
bzr revid: odo@openerp.com-20110923134413-d71l4y5265z3nwcb
2011-09-23 15:44:13 +02:00
Vo Minh Thu cc26f2b5d2 [IMP] tests: added a simple test case to create a database via XML-RPC.
The test setup starts an OpenERP server similarly to the
openerp-server script. For this to be possible, some of
its code is moved to openerp.services.

bzr revid: vmt@openerp.com-20110923133408-qqf4i5l86pkk7xn5
2011-09-23 15:34:08 +02:00
Olivier Dony 2e7a134228 [IMP] orm: introduce cleaner class hierarchy for models
We'll now have a BaseModel with 3 subclasses, AbstractModel,
TransientModel and Model. Model is for regular models, 
TransientModel for automatically-vacuumed models, and
AbstractModel for common superclasses meant to be 
inherited by other models only, and not directly used.

bzr revid: odo@openerp.com-20110923124525-jfzk55dk3ban2ps2
2011-09-23 14:45:25 +02:00
Vo Minh Thu 0c123711c5 [FIX] It is possible to mention an undeclared column in a domain.
Actually, this seems to be used for the logging columns
which are in database but not necessarily in _columns.
This is ugly and a warning is now issued.

lp bug: https://launchpad.net/bugs/857105 fixed

bzr revid: vmt@openerp.com-20110923101839-ko0s7ekt4dlyvrx2
2011-09-23 12:18:39 +02:00
Launchpad Translations on behalf of openerp fc0ce2430c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110923043833-1a97lxlpim7mlfnj
2011-09-23 04:38:33 +00:00
Olivier Dony 7d4cdb69f2 [IMP] orm: minor cleanup: avoid duplicate functions to do the same thing
bzr revid: odo@openerp.com-20110922172027-7kiae4yd2vuwwk6w
2011-09-22 19:20:27 +02:00
Olivier Dony aece39ac83 [IMP] TransientModel: unnecessary unlink() override
Workflow instance deletion is taken care of by the
regular Model.unlink() method, by calling 
workflow.trg_delete().

bzr revid: odo@openerp.com-20110922165003-ub5761gjlnebz4yh
2011-09-22 18:50:03 +02:00
Olivier Dony 0d3085d14f [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110922154155-jq811w768d9zfgim
2011-09-22 17:41:55 +02:00
Olivier Dony 1edacff497 [MERGE] unaccent support + domain parsing cleanup/improvements
bzr revid: odo@openerp.com-20110922140856-p8q0ib1lirgv1g02
2011-09-22 16:08:56 +02:00
Xavier Morel 36b947c425 [IMP] use same fieldpath-splitting function in data_import and data_export, document it a bit
bzr revid: xmo@openerp.com-20110922122542-eradrjva23894wpr
2011-09-22 14:25:42 +02:00
niv-openerp e42256c478 [imp] switched the dates to UTC. I'm so happy.
bzr revid: nicolas.vanhoren@openerp.com-20110922095443-3pzaup9ryb2vb25m
2011-09-22 11:54:43 +02:00
niv-openerp 2508d7b985 [fix] problem when creating a new user without specifying any groups
bzr revid: nicolas.vanhoren@openerp.com-20110922093819-zzz9y9rt1seklhr1
2011-09-22 11:38:19 +02:00
Olivier Dony 0e55cc6cce [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110922071006-axaf12qvvw486z3e
2011-09-22 09:10:06 +02:00
Olivier Dony 9497814729 [IMP] expression: fix [(o2m,not in,...)] domains, re-enable tests, cleanup
bzr revid: odo@openerp.com-20110922005431-gnym5pormtjkfu8q
2011-09-22 02:54:31 +02:00
Antony Lesuisse c1026977ab [MERGE] currency position dsh
bzr revid: al@openerp.com-20110921232150-c1rpri2650363fkd
2011-09-22 01:21:50 +02:00
Olivier Dony c856d70bf5 [MERGE] sync latest trunk, including fixes for =like/=ilike
bzr revid: odo@openerp.com-20110921225225-zk98p2w1asoi2csl
2011-09-22 00:52:25 +02:00
Olivier Dony 6652943cd2 [IMP] minor cosmetic changes to improve readability and ease reviewing process
bzr revid: odo@openerp.com-20110921224423-h5hjnqrqgrp5hhau
2011-09-22 00:44:23 +02:00
Olivier Dony 886b7407de [FIX] osv.expression: fix =like/=ilike operators, broken by r.3631
Revision 3631 = vmt@openerp.com-20110920124252-l5snbvb7ywfogw1o

bzr revid: odo@openerp.com-20110921224208-mji81to3g4kpmkuq
2011-09-22 00:42:08 +02:00
Antony Lesuisse 7080c6cde5 [MERGE] res_currency add search view qdp
bzr revid: al@openerp.com-20110921213910-r96iwmc4bkcqoahs
2011-09-21 23:39:10 +02:00
Olivier Dony 6e4a93cd22 [MERGE] sync w/ latest trunk
bzr revid: odo@openerp.com-20110921162128-22sp59cn4xv983q5
2011-09-21 18:21:28 +02:00
Olivier Dony 90043e5b09 [FIX] res.users: fix user preferences form, broken by r.3526
bzr revid: odo@openerp.com-20110921155648-07bprt01zeuy9vm4
2011-09-21 17:56:48 +02:00
Quentin (OpenERP) 65c0649f70 [IMP] base, res_currency: added search view
bzr revid: qdp-launchpad@openerp.com-20110921112328-o2htuetcopy4jqj5
2011-09-21 13:23:28 +02:00
Amit (OpenERP) 635519fc7f [IMP]
bzr revid: apa@tinyerp.com-20110921105948-1vimypjfazwe5shx
2011-09-21 16:29:48 +05:30
Amit (OpenERP) adbc8dc3b6 [IMP]
bzr revid: apa@tinyerp.com-20110921105456-nel4dmqrttjztse2
2011-09-21 16:24:56 +05:30
Vo Minh Thu 9ac094fe5b [MERGE] ir.xml: ir.model ir.rule changed to use child_of instead of = for the company_id.
lp bug: https://launchpad.net/bugs/812843 fixed

bzr revid: vmt@openerp.com-20110921083041-gyl19c4elsge1ku0
2011-09-21 10:30:41 +02:00
Vo Minh Thu 2bd4708023 report_sxw: formating classes should return strings.
bzr revid: vmt@openerp.com-20110920132323-m9tjo3akasqlr0eg
2011-09-20 15:23:23 +02:00
Vo Minh Thu 73ea84b4e8 [MERGE] base_data.xml: change the VEB currency in VEF (which was needed since January 2008).
bzr revid: vmt@openerp.com-20110920125804-fezbk2vbkdl7eeam
2011-09-20 14:58:04 +02:00
Vo Minh Thu b4582815bc [MERGE] expression: support for =like/=ilike.
lp bug: https://launchpad.net/bugs/788106 fixed

bzr revid: vmt@openerp.com-20110920124252-l5snbvb7ywfogw1o
2011-09-20 14:42:52 +02:00
Vo Minh Thu e5c95611b3 [MERGE] orm: better exception messsages.
lp bug: https://launchpad.net/bugs/777472 fixed

bzr revid: vmt@openerp.com-20110920122411-iykenv7sq7r710vy
2011-09-20 14:24:11 +02:00
Vo Minh Thu bbd90612bc [MERGE] report/preprocess: make sure to remove the quotes of repeatIn third argument.
Also add docstrings to the workflow_service classes.

bzr revid: vmt@openerp.com-20110920120436-txwspf556lolbibv
2011-09-20 14:04:36 +02:00
Vo Minh Thu 8a83f57888 [MERGE] orm: properly handle multi-level _inherits.
lp bug: https://launchpad.net/bugs/823691 fixed

bzr revid: vmt@openerp.com-20110920075401-50z6crlhj7a8sv1g
2011-09-20 09:54:01 +02:00
Olivier Dony 54078c6394 [MERGE] trml2pdf: don't reassign a reused node.text value (additional fix)
lp bug: https://launchpad.net/bugs/640677 fixed

bzr revid: odo@openerp.com-20110919233407-gdna8j4gll0lm4um
2011-09-20 01:34:07 +02:00
Olivier Dony d66e4e6013 [MERGE] zipped module import wizard improvements, courtesy of Boris Timokhin
bzr revid: odo@openerp.com-20110919230538-mffhxr4e5y2jihk7
2011-09-20 01:05:38 +02:00
Olivier Dony 64d6989794 [MERGE] diagram view: properly handle non-ASCII arrow labels
lp bug: https://launchpad.net/bugs/727263 fixed

bzr revid: odo@openerp.com-20110919224850-ttok95g3eku7psqe
2011-09-20 00:48:50 +02:00
Olivier Dony 33b913fb56 [MERGE] allow overwriting existing terms when importing stand-alone translations
bzr revid: odo@openerp.com-20110919211310-zcndav9xmqm0c5df
2011-09-19 23:13:10 +02:00
Antony Lesuisse d4c8370d92 [MERGE] res_users rename companies tab into allowed companies
lp bug: https://launchpad.net/bugs/714471 fixed

bzr revid: al@openerp.com-20110919211048-riv3mdkowtnrn96a
2011-09-19 23:10:48 +02:00
Olivier Dony 6b1c79aa74 [IMP] ir.actions.client: missing access rights
bzr revid: odo@openerp.com-20110919210121-rypsejhd3h1uzcwm
2011-09-19 23:01:21 +02:00
Olivier Dony c6370622e5 [FIX] orm: quote column names in queries to respect case and be consistent
Quoting column names make the case-sensitive in PostgreSQL,
and this is the default strategy we are using so far. It is
important to be consistent there.
We might want to do the same to table names too.
This allows create fields with mixed cases names for example.

bzr revid: odo@openerp.com-20110919201845-heer0rttcouvtc9x
2011-09-19 22:18:45 +02:00
Olivier Dony 705f238f08 [MERGE] missing res.currency.rate.type access rights
bzr revid: odo@openerp.com-20110919173606-1izhy7i9dt25lm45
2011-09-19 19:36:06 +02:00
Olivier Dony 4517dbb852 [MERGE] refactoring: view inheritance query moved to ir.ui.view, courtesy of Sebastien Beau (Akretion)
bzr revid: odo@openerp.com-20110919152434-uohc9mqr4n0b1sc8
2011-09-19 17:24:34 +02:00
Aline Preillon 63b47abd00 [IMP] improved res.partner demo data
bzr revid: aline@aline-laptop-20110919150547-vki0m64iv0ccktlv
2011-09-19 17:05:47 +02:00
Olivier Dony 8c5cb638b9 [MERGE] enforce unique `key` attribute for res.currency, ir.model, res.company
For res.company the constraint is made of 2 parts:
 - one normal unique constraint (name,company_id) to catch
   most cases and define the user error message
 - one additional unique index to enforce the unique currency
   name even for multiple entries with NULL company_id, not
   caught by the constraint. The index is named with the 
   constraint name as prefix, in order to automatically
   share the user error message

Also, cleanup up the res.currency views a bit, and improved
field labels in ir.model to make them easier to understand.

lp bug: https://launchpad.net/bugs/789019 fixed

bzr revid: odo@openerp.com-20110919144821-708avl7t9q7g8vpr
2011-09-19 16:48:21 +02:00
Vo Minh Thu d2ff44ad72 [FIX] base_security: ir rules are noupdate=1.
lp bug: https://launchpad.net/bugs/727277 fixed

bzr revid: vmt@openerp.com-20110919114717-3808os44pxpszk82
2011-09-19 13:47:17 +02:00
Vo Minh Thu 048527e757 [IMP] ir/wizard: removed the unused create_action wizard.
bzr revid: vmt@openerp.com-20110919093626-guayq71dbbkmdn90
2011-09-19 11:36:26 +02:00
Naresh (OpenERP) 1d71f8484a [MERGE FROM TRUNK]
bzr revid: nch@tinyerp.com-20110919093224-5i3dslmw5ubatdjt
2011-09-19 15:02:24 +05:30
Olivier Dony ad23141729 [FIX] orm: refactoring and fix of stored functions processing by _store_get_values
- Refactoring to make the function readable and maintainable
- Fixed algorithm to properly take into account the priority of all stored functions,
  and not just the priority of the first function for a given model, which could hide
  other stored function with higher priorities.

lp bug: https://launchpad.net/bugs/715470 fixed

bzr revid: odo@openerp.com-20110919091952-05lfl2kncr3ep9nj
2011-09-19 11:19:52 +02:00
Amit (OpenERP) ad60a40879 [IMP]:improved
bzr revid: apa@tinyerp.com-20110919091701-t4jzmqm4245knacb
2011-09-19 14:47:01 +05:30
Amit (OpenERP) 496362b29a [IMP]:improved kanban view for partners.
bzr revid: apa@tinyerp.com-20110919085920-p4o1pam5mrjth29r
2011-09-19 14:29:20 +05:30
Amit (OpenERP) 1f9a9b4d90 improved
bzr revid: apa@tinyerp.com-20110919072100-mypi36z63upp10oq
2011-09-19 12:51:00 +05:30
Amit (OpenERP) 215d89d1cf [IMP]:base:improve kanban view for contacts.
bzr revid: apa@tinyerp.com-20110919064708-sg2kltpedp3w0h9u
2011-09-19 12:17:08 +05:30
sebastien beau 043f50ba12 [REF] refactor code in order to add the possibility to overwrite the way to inherit the view
bzr revid: sebastien.beau@akretion.com.br-20110918235947-5k6bxg2fbshhtrsd
2011-09-19 01:59:47 +02:00
Fabien Pinckaers 3112ce242b merge
bzr revid: fp@tinyerp.com-20110917144621-c01methbaxzxdong
2011-09-17 16:46:21 +02:00
Launchpad Translations on behalf of openerp fc4d9abc83 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110917045438-cqv2p3rl60izw3rb
bzr revid: launchpad_translations_on_behalf_of_openerp-20110917050345-nbzoq1kehy4em8kt
2011-09-17 05:03:45 +00:00
Olivier Dony a78a7e2950 [IMP] ir.actions.server: slightly better sample/doc for python type actions
bzr revid: odo@openerp.com-20110916141358-z2mwij0u7y13jeuq
2011-09-16 16:13:58 +02:00
Amit Bhavsar (Open ERP) dc54be9bb9 [kabanization],kanban view for the partner
bzr revid: amb@tinyerp.com-20110916124725-1d07ph63gx8nv3u1
2011-09-16 18:17:25 +05:30
Tejas (OpenERP) 2e35f39606 [kanban] bold tag removed
bzr revid: tta@openerp.com-20110916114945-3zge1h6e6x2ohxnm
2011-09-16 17:19:45 +05:30
Tejas (OpenERP) 00a2a25930 [kanban] id changed and make email and phone italic
bzr revid: tta@openerp.com-20110916111526-znb3mc918jfzosw7
2011-09-16 16:45:26 +05:30
Harry (OpenERP) 63987af41e [FIX] edi: get partner already exits or not using get_object and get_object_by_name.
bzr revid: hmo@tinyerp.com-20110916110800-8dec58lrgyilv144
2011-09-16 16:38:00 +05:30
Tejas (OpenERP) fce6f5932b [kanban] contacts view for kanban
bzr revid: tta@openerp.com-20110916104501-tuwftefbl7lumix7
2011-09-16 16:15:01 +05:30
Harry (OpenERP) 52c5e29710 [FIX] edi_company: add default addess
bzr revid: hmo@tinyerp.com-20110916095328-8wlmqjz4wjfrt0ir
2011-09-16 15:23:28 +05:30
Vo Minh Thu cd89f5a5a4 [MERGE] fields: correct (5,_) operation on many2many (delete instead of set null).
lp bug: https://launchpad.net/bugs/818189 fixed

bzr revid: vmt@openerp.com-20110915152052-ujbfj2zgv06eairy
2011-09-15 17:20:52 +02:00
Vo Minh Thu 94662b9727 [MERGE] orm: convert exception to unicode.
lp bug: https://launchpad.net/bugs/811519 fixed

bzr revid: vmt@openerp.com-20110915145933-p2apahreex255nd6
2011-09-15 16:59:33 +02:00
Stephane Wirtel 73f8c52ad2 [FIX] base: res_currency#company_id remove the default value based on the currency of the company
bzr revid: stw@openerp.com-20110915142638-gmpk24otjtrv0jtz
2011-09-15 16:26:38 +02:00
Stephane Wirtel 46d4042fe4 [IMP] base: show the 'field' field in the search view
bzr revid: stw@openerp.com-20110915142438-rk0x1xjn3h4qre2d
2011-09-15 16:24:38 +02:00
Vo Minh Thu 9c470cda34 [MERGE] ir_action: properly handle the False value for a reference field in a onchange method.
lp bug: https://launchpad.net/bugs/793682 fixed

bzr revid: vmt@openerp.com-20110916123948-qaoou8rj2rx5l4ou
2011-09-16 14:39:48 +02:00
Vo Minh Thu 20d7d05a60 [IMP] openerp.modules.db: nice critical logging, and nice IOError exception
when the base.sql is not found.

bzr revid: vmt@openerp.com-20110916121315-lklf5nib8u1pztk5
2011-09-16 14:13:15 +02:00
Vo Minh Thu 70898d7287 [MERGE] orm: export boolean values as strings, even for False.
lp bug: https://launchpad.net/bugs/831009 fixed

bzr revid: vmt@openerp.com-20110916103726-x7nmconcxem915m1
2011-09-16 12:37:26 +02:00
Vo Minh Thu caef181733 [FIX] ir_action: avoid returning a None context.
lp bug: https://launchpad.net/bugs/793682 fixed

bzr revid: vmt@openerp.com-20110916101432-cj8xd7uefy0k5suz
2011-09-16 12:14:32 +02:00
Vo Minh Thu 8254ffe9c8 [MERGE] ir_actions: swapped (corrected) signal name with module name, usability enhancement.
lp bug: https://launchpad.net/bugs/819872 fixed

bzr revid: vmt@openerp.com-20110916082907-n73wothbef0wfq2i
2011-09-16 10:29:07 +02:00
Xavier Morel 556a17d5bc [FIX] race condition in RegistryManager
When two requests arrive simultanously for the same uninitialized db,
the first request starts the db initialization, but the second one
immediately gets the partially uninitialized registry (actually just
created, so generally completely uninitialized), leading to an access
error in later code (as soon as a registry object is accessed).

Add a GRML (Global RegistryManager Lock) to ensure the RegistryManager
*never* returns a partially initialized registry.

The current implementation is simple (just lock all RegistryManager
methods before they manipulate registries), but overly broad. This is
an area which might be optimizable if there are perf/responsivity
issues (e.g. each Registry instance could have a lock, and the
RegistryManager would grab the instance's, allowing the inititlization
of registry A not to block registry B from being returned in heavily
concurrent uses).

However this is not an issue in multiprocessing scenarios, which are
being planned for the near future. So for now, being correct is
probably the best idea.

bzr revid: xmo@openerp.com-20110916075227-0zutzlxn2dcd94c4
2011-09-16 09:52:27 +02:00
Vo Minh Thu 92fef4559b [MERGE] base_module_import_view: better strings messages.
lp bug: https://launchpad.net/bugs/830902 fixed

bzr revid: vmt@openerp.com-20110915142348-z2t5duy9sma7doz7
2011-09-15 16:23:48 +02:00
Vo Minh Thu ce19d8d027 [MERGE] ir_module_module: better (less browse() calls) fields.function implementation.
bzr revid: vmt@openerp.com-20110915141533-wzx0qp0084ogr6hr
2011-09-15 16:15:33 +02:00
Vo Minh Thu 1ec4c693d9 [FIX] report: make sure we can use an image path starting with the name of some module,
irrespective of the different addons paths.

lp bug: https://launchpad.net/bugs/781967 fixed

bzr revid: vmt@openerp.com-20110915140229-4d43wtbwzxr7s74i
2011-09-15 16:02:29 +02:00
Xavier Morel 662c8842f4 [IMP] fields_view_get: listcomps are still awesome
also use itertools.chain to iterate over multiple lists in sequence, instead of concatenating them

bzr revid: xmo@openerp.com-20110915124741-v5uneqmt2c3v6cmp
2011-09-15 14:47:41 +02:00
Xavier Morel a09be0e9b9 [IMP] simplify search view generation: rely on etree.SubElement to graft new nodes to the search view
bzr revid: xmo@openerp.com-20110915123707-901mkfkz8e6ikre4
2011-09-15 14:37:07 +02:00
Xavier Morel 7bb856b834 [IMP] search view generation: update fields set in place instead of creating a new set via union
bzr revid: xmo@openerp.com-20110915123155-a5ht8nhfp9kq0kst
2011-09-15 14:31:55 +02:00
Xavier Morel eeb31efa88 [IMP] automatic search view generation: comprehensions are awesome
bzr revid: xmo@openerp.com-20110915122834-0ec4dkaznbhtc0kc
2011-09-15 14:28:34 +02:00
Xavier Morel e878560c74 [ADD] small helper to calendar generation code, in order to make flow clearer
bzr revid: xmo@openerp.com-20110915122443-hvk1u2372ppd77m1
2011-09-15 14:24:43 +02:00
Xavier Morel 74e98f4220 [ADD] error when neither date_stop nor date_delay can be generated for a default calendar view
bzr revid: xmo@openerp.com-20110915121544-eq3mumulb0qp9yfa
2011-09-15 14:15:44 +02:00
Xavier Morel 4cdda26b6c [IMP] convert default calendar view generation (from fields_view_get) to lxml.etree
bzr revid: xmo@openerp.com-20110915121129-fcdq8e0rix2ocpwt
2011-09-15 14:11:29 +02:00
Xavier Morel 005e2b87a5 [IMP] etree-ify default view generations
* Search already used etree internally, remove serialization to string
* form and tree were easy to convert
* pull down fvg's parsing (etree.fromstring) into calendar generator before converting it

bzr revid: xmo@openerp.com-20110915120429-syz190w61iq52rel
2011-09-15 14:04:29 +02:00
Xavier Morel ebb2072207 [IMP] regroup all __get_default_$name_view calls into a single parametric getattr
Also rename __get_default_ to _get_default_ so it can be found by getattr

bzr revid: xmo@openerp.com-20110915111255-1i0y555er3nwtkzg
2011-09-15 13:12:55 +02:00
Xavier Morel 734c1a43a0 [REF] extract the two inlined default view generators left into fields_view_get into their own methods
follow the preexisting __get_default_$name_view

bzr revid: xmo@openerp.com-20110915111221-20ktl1bi2qne5wz7
2011-09-15 13:12:21 +02:00
Xavier Morel 8a9c0dbad7 [IMP] bulk-update fields_view_get result via dict.update instead of a bunch of __setitem__
bzr revid: xmo@openerp.com-20110915111213-zigij077k9ss9p6e
2011-09-15 13:12:13 +02:00
Xavier Morel 7e8b8a3ce8 [IMP] ensure file is correctly closed even if file.write() blows up (also -3+2)
bzr revid: xmo@openerp.com-20110915104053-fklc9ae853eytods
2011-09-15 12:40:53 +02:00
Olivier Dony 967373ede9 [FIX] ir.model.data: revert previous context patch - unsupported on cached methods
bzr revid: odo@openerp.com-20110915102411-aedcd7wi0min2rgd
2011-09-15 12:24:11 +02:00
Vo Minh Thu 9b903321e7 [MERGE] base: rename zipfile variable into zip_content (because zipname is an imported module).
lp bug: https://launchpad.net/bugs/795452 fixed

bzr revid: vmt@openerp.com-20110915102117-sep3t0itkjjmertz
2011-09-15 12:21:17 +02:00
Olivier Dony 1a983823f5 [IMP] ir.model.data: better message + support optional context
bzr revid: odo@openerp.com-20110915094055-njeenaf871akzzgl
2011-09-15 11:40:55 +02:00
Vo Minh Thu d743353e16 [IMP] wsgi: provide the start- and stop-server functions.
bzr revid: vmt@openerp.com-20110914150603-zu6zh4v7pmnchvf3
2011-09-14 17:06:03 +02:00
Olivier Dony 623bdb2c9f [FIX] ir.mail_server: care for non-ascii connection error message
bzr revid: odo@openerp.com-20110914120644-u0e2dmo2n146nl97
2011-09-14 14:06:44 +02:00
Vo Minh Thu 46ad605226 [IMP] wsgi:
- added Microsoft specific header for webdav.
- serve WSGI handlers with werkzeug when available.
- effectively use WSGI instead of netsvc HTTP stack.

bzr revid: vmt@openerp.com-20110914104300-n0l3dnmdu3jau7w2
2011-09-14 12:43:00 +02:00
Harry (OpenERP) 0e1765a4d5 [FIX] workflow: pass active_model in context on run server action
bzr revid: hmo@tinyerp.com-20110914102505-03tzr0ncfsngnqnu
2011-09-14 15:55:05 +05:30
Harry (OpenERP) 8dc1e7d9a4 [MERGE] merged from trunk development branch
bzr revid: hmo@tinyerp.com-20110914073732-ih8qwnzl03phbloc
2011-09-14 13:07:32 +05:30
Launchpad Translations on behalf of openerp ef7211f652 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110914044035-wdsfwmenceb1t1ky
2011-09-14 04:40:35 +00:00
Olivier Dony 01e9e63423 [FIX] ir.translation: one more fix for ormcache_multi.clear_cache()
(Reported by Thibaut Dirlik)

bzr revid: odo@openerp.com-20110913174310-w79dgmybs59fb9xm
2011-09-13 19:43:10 +02:00
Stephane Wirtel 0da376c203 [MERGE] Email Framework: lp:~openerp-dev/openobject-server/trunk-emails-unified
bzr revid: stw@openerp.com-20110913145055-wcwrbfmoebqycxbq
2011-09-13 16:50:55 +02:00
Vo Minh Thu d593e484c4 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110913144916-er9fnuj00cj93cev
2011-09-13 16:49:16 +02:00
Olivier Dony 863f0d003f [FIX] orm: avoid passing undefined context in browse_record getattr()
bzr revid: odo@openerp.com-20110913144702-7g56odiorqdiea28
2011-09-13 16:47:02 +02:00
Olivier Dony 6fa6d8369c [MERGE] latest trunk
bzr revid: odo@openerp.com-20110913144600-ve4vb5po9vi3edw4
2011-09-13 16:46:00 +02:00
Vo Minh Thu ad06d1ba56 [FIX] This complements commit 3511,
revision-id: odo@openerp.com-20110714105552-9tgofrjtdgjmgc4b.
Each OpenERP cursor is mapped to a single psycopg2 connexion.
When a cursor is closed, the connexion is pushed back to a
pool and reused later. Now that the 'snapshot isolation' level
is used, the fact we didn't properly commit/rollback a
transaction appears: some 'concurrent' update showed up.
The fix is simple: whenever a cursor is closed, we rollback
any pending operation (which is the expected behavior).
(Furthermore, the connexion is explicitely closed when the
connexion is pushed back but not kept in the pool.)

bzr revid: vmt@openerp.com-20110913143444-s49r7r2h6m00p5s3
2011-09-13 16:34:44 +02:00
Harry (OpenERP) 701d20fa25 [IMP] base.ir.edi: introduce new method: split_xml_id to split module and xml_id from uuid of edi_document
bzr revid: hmo@tinyerp.com-20110913132416-1putaa2y3rxzqunc
2011-09-13 18:54:16 +05:30
Olivier Dony 0c675b2758 [IMP] browse_record: getattr method execution propagates context
The only requirements for this to work are:
 - all model methods likely to be called on a browse_record must support
   a context parameter (positional or keyword, doesn't matter)
 - callers should never pass the context as a positional args, otherwise
   we'll have multiple values for the context.
Both requirements seem sensible enough.

bzr revid: odo@openerp.com-20110913130826-d7fme3mznv55ok5f
2011-09-13 15:08:26 +02:00
Harry (OpenERP) 7ce7230c40 [IMP] base.ir.edi: improve edi import process, split in different methods
[ADD] base.res.edi_company: introduce new methods in res.company to import company as parter and export company address

bzr revid: hmo@tinyerp.com-20110913125456-j9ipisqu5lf6tdyq
2011-09-13 18:24:56 +05:30
Dhara (OpenERP) b9c10b045c [IMP] currency position for report
bzr revid: dhara_openerp-20110913043809-2gq0chqs4m0yq1nq
2011-09-12 21:38:09 -07:00
Olivier Dony 0624e4ab5c [IMP] orm.name*: better docstrings
bzr revid: odo@openerp.com-20110912171210-pmeqvy71l4iu8ulz
2011-09-12 19:12:10 +02:00
Olivier Dony 1044d63047 [MERGE] view.rng: @default_group_by for kanban view
bzr revid: odo@openerp.com-20110912152416-rk42c970okvdyla3
2011-09-12 17:24:16 +02:00
Fabien Meghazi 7fb1eb5a64 [IMP] Added default_group_by attribute for kanban view
bzr revid: fme@openerp.com-20110912150844-dtohl83qew4ssdyc
2011-09-12 17:08:44 +02:00
Xavier Morel 9483efd463 [FIX] fix
bzr revid: xmo@openerp.com-20110912145510-wpa2cgm4zx4fwe9o
2011-09-12 16:55:10 +02:00
Xavier Morel f03892c5db [FIX] ir.actions.server: only try to browse the object of a server action (pointed-to by active_id + active_model) only if active_model matches the action's model
bzr revid: xmo@openerp.com-20110912144411-bzh99xqr7c1ucu1a
2011-09-12 16:44:11 +02:00
Olivier Dony b225276cd0 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110912122217-a3fy0gmxbu18kemr
2011-09-12 14:22:17 +02:00
Vo Minh Thu 995a037f2d [IMP] wsgi: set the config via gunicorn config file.
bzr revid: vmt@openerp.com-20110912102147-yxgv9hpm4fvoxqn6
2011-09-12 12:21:47 +02:00
Naresh (OpenERP) d02fc10280 [FIX]:problem when coping the _inherits record the base class record was not created resulting the new record to refer the same parent that the old record is referring
bzr revid: nch@tinyerp.com-20110912091418-l71l0xj5lovrf8f1
2011-09-12 14:44:18 +05:30
Xavier Morel ce835b6dfe [FIX] @colors expression: in on single string (instead of singleton), works by coincidence. Replace by equality test
bzr revid: xmo@openerp.com-20110911132514-39cy0gldyt1ixy3m
2011-09-11 15:25:14 +02:00
Launchpad Translations on behalf of openerp 40ccd8a307 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110910050134-g9u7swpuqxjvk2uc
bzr revid: launchpad_translations_on_behalf_of_openerp-20110910050147-o7l8x27ph9y63m3r
2011-09-10 05:01:47 +00:00
Olivier Dony 0f6510edfc [FIX] ir.attachment: cleaner check for record existence in access rights
bzr revid: odo@openerp.com-20110909155025-cyhnmy89e9a0ijzt
2011-09-09 17:50:25 +02:00
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
Vo Minh Thu 77fbcb3c79 [FIX] websrv_lib: the auth provider was instanciated once and
the auth proxy was instanciated multiple times (once per handler instcance).
The previous refactoring merged the proxy and the provider in one class which
once instanciated once. Now it is instanciated once per handler, which is
better.

bzr revid: vmt@openerp.com-20110909122856-29uhsjfe193fqdi8
2011-09-09 14:28:56 +02:00
Olivier Dony f59aaf7ca0 [FIX] ir.translation: second part of previous revision for fixing calls to ormcache_multi.clear_cache()
bzr revid: odo@openerp.com-20110909104046-ipysy6pi3iea38fu
2011-09-09 12:40:46 +02:00
Antony Lesuisse 78626b885c [FIX] ir_translation _get_ids clear_cache is not multi
lp bug: https://launchpad.net/bugs/838864 fixed

bzr revid: al@openerp.com-20110909100709-kdqf4aibdr0flr4a
2011-09-09 12:07:09 +02:00
niv-openerp 061df0800d [imp] added properties for statusbar in .rng of views
bzr revid: nicolas.vanhoren@openerp.com-20110909093643-h0jnvcytov70be8o
2011-09-09 11:36:43 +02:00
Vo Minh Thu 9ca78ea013 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110909074820-o89mwdulwx8an13m
2011-09-09 09:48:20 +02:00
Vo Minh Thu 4a1597ab16 [FIX] typo, removed wsg_modules entry point (redundant with "module_handlers").
bzr revid: vmt@openerp.com-20110909073145-vqnjhdu0xwb8wurt
2011-09-09 09:31:45 +02:00
Ujjvala Collins (OpenERP) 9ca534299f [REF] base: Changed description of currency rate type object.
bzr revid: uco@tinyerp.com-20110909045451-li77wxzvkg5rj8jx
2011-09-09 10:24:51 +05:30
Launchpad Translations on behalf of openerp e65666493d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110908043626-5c0ixnnwl79nkotp
bzr revid: launchpad_translations_on_behalf_of_openerp-20110909043730-o6s4fx8rueje9h3j
2011-09-09 04:37:30 +00:00
Olivier Dony 5fdff4bc17 [IMP] view.rng: allow @name attribute for `label`
bzr revid: odo@openerp.com-20110908173606-unrv4dad5klxh3yq
2011-09-08 19:36:06 +02:00
Vo Minh Thu 5b20065d78 [FIX] wsgi: missing argument to start_response, add "/" prefix only when needed.
bzr revid: vmt@openerp.com-20110908153700-ppfqhf7v5l9s3m65
2011-09-08 17:37:00 +02:00
Vo Minh Thu e643ffcc32 [REF] websrv_lib:
- grouped together the concept of auth proxy and auth provider
- removed the sec_realms dictionary: it was redundant as the
auth proxy was set (in one of the implementation, not all) on
the handler by setupAuth. Now the auth proxy is always set on
the handler.
- reg_http_service accepts the argument of the HTTPDir
constructor.

bzr revid: vmt@openerp.com-20110908123818-suc53zebgv9kcy3c
2011-09-08 14:38:18 +02:00
Olivier Dony fbb6e5e56a [FIX] ir.values.get_defaults: typo in SQL query - spotted by Naresh, thanks!
bzr revid: odo@openerp.com-20110908113833-z2cgkj093940usys
2011-09-08 13:38:33 +02:00
Olivier Dony ef5edae1ca [MERGE] latest trunk
bzr revid: odo@openerp.com-20110908113641-xai86jar2fkbwdm7
2011-09-08 13:36:41 +02:00
Ujjvala Collins (OpenERP) c8e9bb78e8 [REM] base: Removed access rule for Administation/Configuration group and allowing all rights only to Account Manager for currency rate type object.
bzr revid: uco@tinyerp.com-20110908104809-jzdrg750ir12ajrb
2011-09-08 16:18:09 +05:30
Vo Minh Thu 17c54e1217 [IMP] wsgi: cleaner code, moar comments.
bzr revid: vmt@openerp.com-20110908094830-kls32ewruywepjmm
2011-09-08 11:48:30 +02:00
Harry (OpenERP) 3ba75e5d50 [IMP] base.ir_edi: dont use fields_get or _columns to get the list of fields, use the new "self._all_columns" (map of column_info records) which also contains inherited fields and is already cached (see in ORM for the definition of the column_info object)
bzr revid: hmo@tinyerp.com-20110908094546-4zy2dbqk8zyrzr26
2011-09-08 15:15:46 +05:30
Ujjvala Collins (OpenERP) dcbc40a512 [ADD] base: Added access rules for currency rate type.
bzr revid: uco@tinyerp.com-20110908085238-0mkv2vxsjd4gvfba
2011-09-08 14:22:38 +05:30
Vo Minh Thu 1cd7804374 [REF] websrv_lib: moved vdirs mangement code to websrv_lib
(from service.http_server). The vdirs list is now a global variable, containing
both secure-only and non-necessarily-secure handlers. This makes it possible
to register handlers without being too tied to the multi http request handler.
The goal is obviously to make it possible to serve those handlers by other
means than the multi handler.

bzr revid: vmt@openerp.com-20110907154217-f30nrzgvw45ga2q8
2011-09-07 17:42:17 +02:00
Vo Minh Thu 14a82cdf9f [IMP] wsgi: WSGI-to-BaseHTTPRequestHandler, there are
probably some shortcomings but the document_webdav/test/webdav_test1.yml
tests pass.

bzr revid: vmt@openerp.com-20110907141318-4gxmyztv1zp6sk7q
2011-09-07 16:13:18 +02:00
Olivier Dony 7d3d3a6aba [FIX] fields.function: type=binary: workaround for the low byte values (<=0x1f) unsupported in XML
We have a workaround in place for fields.function of binary type
that may return values that are invalid in XML documents, and thus
in our XML-RPC protocol. But out workaround failed to care for the
invalid XML codepoints (below 0x1f) that are well valid in UTF-8
encoding.
Added a sanity check for that as well, using a terrible workaround
for this last resort case: b64-encode the bytes, to avoid crashing
the request.

bzr revid: odo@openerp.com-20110906173140-vc4tl6wstzt8h06o
2011-09-06 19:31:40 +02:00
Olivier Dony ed8d1a9f2f [IMP] ir.mail_server: improve handling of non-ASCII in headers
bzr revid: odo@openerp.com-20110906171746-nnjk6ic0bdlqltcu
2011-09-06 19:17:46 +02:00
Olivier Dony caef9821a3 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110906080822-tyadkxvycrx7bl1d
2011-09-06 10:08:22 +02:00
Olivier Dony eab6a77a26 [IMP] ir.model.data: usability - rename `XML ID` -> `External ID`
bzr revid: odo@openerp.com-20110906075711-lev8g5tkfhc9j3c1
2011-09-06 09:57:11 +02:00
Vo Minh Thu c126c107c3 [MERGE] merged the kanban view rng definition.
bzr revid: vmt@openerp.com-20110905150942-987hlgchx2tg3c8n
2011-09-05 17:09:42 +02:00
Olivier Dony e333a2eb2e [IMP] ir.values: improved defaults doc + removed `object` column completely
The `object` column actually directly depended on the value of
the `key` column, so it can be totally removed with no side-effects.
Docstrings updated following review comments.

bzr revid: odo@openerp.com-20110905141058-xa01o77l1rto6hg9
2011-09-05 16:10:58 +02:00
Olivier Dony 083691b392 [IMP] ir.values: improve security: users can only write to their personal defaults
Administrator access is required to set defaults for
everybody, as well as to alter the action bindings.

bzr revid: odo@openerp.com-20110905123756-oqum5k2pnbyoa11r
2011-09-05 14:37:56 +02:00
Olivier Dony 70933cb532 [MERGE] lastest trunk
bzr revid: odo@openerp.com-20110905101246-k63hw8mvou4b0d2a
2011-09-05 12:12:46 +02:00
Olivier Dony d462066939 [MERGE] res.users: make set-only password field more user-friendly
lp bug: https://launchpad.net/bugs/798681 fixed

bzr revid: odo@openerp.com-20110905090936-s84b6dc18gr6p6gl
2011-09-05 11:09:36 +02:00
Yogesh (OpenERP) 004a92829e [MERGE] Merge with trunk server upto revision no 3569.
bzr revid: ysa@tinyerp.com-20110905045551-jp9fwif57xbma3d3
2011-09-05 10:25:51 +05:30
Antony Lesuisse ef3935553c [FIX] ir_translation cache invalidation
bzr revid: al@openerp.com-20110902155834-rmno5z7aavj71fk5
2011-09-02 17:58:34 +02:00
Olivier Dony d0af2f830c [FIX] ir.values: get_defaults() should cut the condition at 200 chars to match the conditions that were set
bzr revid: odo@openerp.com-20110902151442-rqrh62z67g8k921o
2011-09-02 17:14:42 +02:00
Vo Minh Thu 0a6fe4d1f7 [IMP] wsgi: added exception handling.
bzr revid: vmt@openerp.com-20110902150226-223gkl4efb8o8jhs
2011-09-02 17:02:26 +02:00
Vo Minh Thu 9aeba4fece [REF] netsvc.OpenERPDispatcher: that class is gone, replaced by a simple function.
bzr revid: vmt@openerp.com-20110902141232-umpscnz2cot468hy
2011-09-02 16:12:32 +02:00
Olivier Dony a0639a51a7 [IMP] ir.mail.server: improved tooltips
bzr revid: odo@openerp.com-20110902134831-pvpxeg0k2em975ye
2011-09-02 15:48:31 +02:00
Vo Minh Thu 8ca1a87201 [IMP] wsgi: modules can be pre-loaded and expose a WSGI handler.
An option --load is added to list the modules to pre-load.
sys.path and sys.modules are initialized when the config is
parsed.

bzr revid: vmt@openerp.com-20110902133136-4v7fgptyd0g1kc5s
2011-09-02 15:31:36 +02:00
Vo Minh Thu 79d0e39c4c [FIX] loading: load base only once.
bzr revid: vmt@openerp.com-20110902132712-j9bgfnzbmddarr7h
2011-09-02 15:27:12 +02:00
Olivier Dony 32020e1353 [FIX] ir.values: re-binding of actions should properly delete the previous one
bzr revid: odo@openerp.com-20110902125648-x0cir5m7818h9ba6
2011-09-02 14:56:48 +02:00
Olivier Dony e0624cbc95 [IMP] ir.values: smoke test for action bindings
bzr revid: odo@openerp.com-20110902124038-36ip41ccytr2f9vt
2011-09-02 14:40:38 +02:00
Olivier Dony 38ddb76960 [IMP] ir.values: minor cleanup/view improvements
bzr revid: odo@openerp.com-20110902101530-13r328uwhwdpudn5
2011-09-02 12:15:30 +02:00
Olivier Dony 75e0749542 [IMP] ir.values: separated defaults and actions API, added different views
This should prepare for a future split of the two parts
currently composing ir.values entries: user defaults and
action bindings to a model's UI.

bzr revid: odo@openerp.com-20110901181254-g14lyeogs0wv23bz
2011-09-01 20:12:54 +02:00
Olivier Dony 52f6e15e5c [FIX] ir.ui.menu: typo during merge of simplified cache
bzr revid: odo@openerp.com-20110901143038-dpuehbd8p1e0o3qz
2011-09-01 16:30:38 +02:00
Vo Minh Thu 3c8571ead0 [IMP] wsgi: added new (still to be refined) routes for XMLRPC dispatching.
bzr revid: vmt@openerp.com-20110901130450-ub41ey4s0060vucg
2011-09-01 15:04:50 +02:00
Vo Minh Thu efd281a21f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110901130339-0epw03nlkwo29125
2011-09-01 15:03:39 +02:00
Xavier Morel eac94dd2c9 [FIX] diagram view schema: diagram children are a single 'node' and a single 'arrow', in this order. Also require at least one 'field' in both node and arrow
bzr revid: xmo@openerp.com-20110901114349-c279654t361ta3q5
2011-09-01 13:43:49 +02:00
Launchpad Translations on behalf of openerp 24536a8e74 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110901044607-258xb4cenlrgh16h
2011-09-01 04:46:07 +00:00
Antony Lesuisse d4dc332b2f [FIX] res_lang clear cache remove kwargs, typo
bzr revid: al@openerp.com-20110831182216-afohhdmshv60y3g3
2011-08-31 20:22:16 +02:00
Fabien Meghazi 10e06c2300 [IMP] Improved rng for kanban view
bzr revid: fme@openerp.com-20110831153933-jvpnrysi5hc42z04
2011-08-31 17:39:33 +02:00
Olivier Dony 8add1d7459 [REM] view.rng: remove unused 'default' attribute, as planned in bug 687272
lp bug: https://launchpad.net/bugs/687272 fixed

bzr revid: odo@openerp.com-20110831153012-0tnrtgvar4hccnvr
2011-08-31 17:30:12 +02:00
Antony Lesuisse 519068f60a [FIX] res_lang clear cache remove kwargs
bzr revid: al@openerp.com-20110831142213-0kdmcgmt02tq4gse
2011-08-31 16:22:13 +02:00
Fabien Meghazi 37d7ccdd3f [MERGE} Merge with trunk
bzr revid: fme@openerp.com-20110830140814-ek68i2033zls1cc6
bzr revid: fme@openerp.com-20110831134240-gu3l0nul165hdiyi
2011-08-31 15:42:40 +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 b8a633e578 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110831091325-t5gfm57tmkr0fbee
2011-08-31 11:13:25 +02:00
Vo Minh Thu 2e7927331d [FIX] registry: forgot the self/cls args.
bzr revid: vmt@openerp.com-20110831075639-0ywrg01e6zdff7l7
2011-08-31 09:56:39 +02:00
Vo Minh Thu 12f977059c [IMP] osv_memory_autovacuum: use the method instead of accessing the field directly.
bzr revid: vmt@openerp.com-20110830141421-r6b48z00ae11kubr
2011-08-30 16:14:21 +02:00
Vo Minh Thu 1300ac804d [MERGE] res.currency: added res.currency.rate.type model.
bzr revid: vmt@openerp.com-20110830140936-pnmtt6f8jsvw32m4
2011-08-30 16:09:36 +02:00
Quentin (OpenERP) 399de9724c [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830132035-x2gs62lft5o19u6i
2011-08-30 15:20:35 +02:00
Quentin (OpenERP) 9c6fcf06d2 [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830125521-1kt54s56865388ch
2011-08-30 14:55:21 +02:00
Quentin (OpenERP) 13b2db3631 [FIX] base, res.currency: ProgrammingError. When giving a context value like {'currency_rate_type_id': False}, it crashed because the value False was kept instead of None. Thanks Guewen (c2c) for the clue.
bzr revid: qdp-launchpad@openerp.com-20110830122701-yrcpo19lokkgrpcc
2011-08-30 14:27:01 +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
Quentin (OpenERP) 999efde443 [MERGE] merged with main addons branch
bzr revid: qdp-launchpad@openerp.com-20110830120839-2e6gbk2c5hestd1r
2011-08-30 14:08:39 +02:00
Quentin (OpenERP) 17156bd16a [IMP] base, res.currency: fixes
bzr revid: qdp-launchpad@openerp.com-20110830120727-82z1fn0msp7m5096
2011-08-30 14:07:27 +02:00
Quentin (OpenERP) b8b78c43dd [IMP] base, res.currency: by default, don't show the currency_rate_type_id field, and don't display its menuitem. Both should be added by specific module using it
bzr revid: qdp-launchpad@openerp.com-20110830120644-lwuv3h1vrqjhu32y
2011-08-30 14:06:44 +02:00
Fabien Meghazi 757353a0a9 [IMP] Improved rng for kanban view
bzr revid: fme@openerp.com-20110829152757-juq5aaryom6dtc12
2011-08-29 17:27:57 +02:00
Fabien Meghazi 535cc9a862 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110829152720-055wnqlm6vbfl7ta
2011-08-29 17:27:20 +02:00
Olivier Dony 973c7b116c [FIX] ir.mail.server: remove debugging statement
bzr revid: odo@openerp.com-20110829125917-xm8s6bkfa1uiw4qh
2011-08-29 14:59:17 +02:00
Olivier Dony ce34e4563d [FIX] ir_actions: restore partial content missing in last merge
bzr revid: odo@openerp.com-20110829123625-9r34t0spef71b88m
2011-08-29 14:36:25 +02:00
Vo Minh Thu abcef35c76 [FIX] osv: forgot to "import expression".
bzr revid: vmt@openerp.com-20110829120020-b4tfvgizlednt452
2011-08-29 14:00:20 +02:00
Vo Minh Thu e1b2dec200 [IMP] orm: option to make many2many relation tables without foreign key constaint.
The option is not completely flexible (no possibility to choose to have a foreign
key on one of the fields. No similar option is provided for many2one either.
It is seldom used (e.g. in account_followup addons).

bzr revid: vmt@openerp.com-20110829094354-0yf6t6329j8e765q
2011-08-29 11:43:54 +02:00