Commit Graph

1268 Commits

Author SHA1 Message Date
Olivier Dony cc5d73a529 [FIX] cron: cleanup wakeup pointers after processing them
bzr revid: odo@openerp.com-20110928235409-mzsuqxzmvc30sg0n
2011-09-29 01:54:09 +02:00
Olivier Dony f5fdb9f494 [FIX] cron/registry: typo
bzr revid: odo@openerp.com-20110928235048-ssfqeu7ug35isyfk
2011-09-29 01:50:48 +02:00
Olivier Dony dea1026c60 [IMP] cron: warning about max DB setting that may conflict with cron (thanks to N.Bessi for the idea)
bzr revid: odo@openerp.com-20110928231522-ah3xop8w1z18eg8n
2011-09-29 01:15:22 +02:00
Olivier Dony a9a50c2cc8 [FIX] ir_cron: compare timestamps always as UTC (as of v6.1)
bzr revid: odo@openerp.com-20110928224611-51eqnelo7mqomnwh
2011-09-29 00:46:11 +02:00
Olivier Dony f2b9b58fd3 [IMP] cron: misc renaming and minor changes to improve reviewability ;-)
bzr revid: odo@openerp.com-20110928224429-up0k4ts3cdks1u2s
2011-09-29 00:44:29 +02:00
Antony Lesuisse c71979e6ae [MERGE] /openerp/6.1 xmlrpc compliant
bzr revid: al@openerp.com-20110928220539-5q8eujk1l0q43d4x
2011-09-29 00:05:39 +02:00
Olivier Dony e7601e68cb [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110928211326-0e51q7zlw4h2528z
2011-09-28 23:13:26 +02:00
Vo Minh Thu 538cc0e92f [FIX] ir_sequence: typo in read().
bzr revid: vmt@openerp.com-20110928141520-9yx9sogoetizb9nn
2011-09-28 16:15:20 +02:00
Vo Minh Thu 6929d9f3c8 [FIX] ir_sequence: any merge proposal should touch as many .po files as possible.
bzr revid: vmt@openerp.com-20110928133101-z1baqrqw7yb2u73c
2011-09-28 15:31:01 +02:00
Vo Minh Thu 42fe3d4ff5 [IMP] ir_sequence: added the new "implementation" field in the views.
bzr revid: vmt@openerp.com-20110928132744-lb8m15yzg7kc3e56
2011-09-28 15:27:44 +02:00
Vo Minh Thu 7ac3c90774 [FIX] ir_sequence: check access right on get_id(), unlink returns True.
bzr revid: vmt@openerp.com-20110928130548-ldg97pjo5zex0qab
2011-09-28 15:05:48 +02:00
Vo Minh Thu b4661b5b09 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110928130246-stflg3oza3nqq05i
2011-09-28 15:02:46 +02:00
Vo Minh Thu ebd8ca5df5 [IMP] orm: expose ir.model.access check shortcuts.
bzr revid: vmt@openerp.com-20110928130107-5y5di6nx0al3q8mh
2011-09-28 15:01:07 +02:00
Vo Minh Thu eeaa2a7f80 [FIX] ir_sequence: do the FOR UPDATE NO WAIT only in the No-gap sequence.
bzr revid: vmt@openerp.com-20110928114229-1g6r5et5frj26wam
2011-09-28 13:42:29 +02:00
Vo Minh Thu f2c5556b68 [FIX] ir_sequence: forgot id argument in _create_sequence().
bzr revid: vmt@openerp.com-20110928103009-17rw1af5ebauu3f5
2011-09-28 12:30:09 +02:00
Antony Lesuisse 4ad8bd6fb9 [IMP] use generic value for base_data company
bzr revid: al@openerp.com-20110928101227-199mwqzmsta01am3
2011-09-28 12:12:27 +02:00
Vo Minh Thu 5f4ebc7b1c [IMP] ir_sequence: add support for PostgreSQL sequence.
This is partly inspired by openlabs' Sequence Postgres module.
Untested yet.

bzr revid: vmt@openerp.com-20110928091309-098red2biba5uq73
2011-09-28 11:13:09 +02:00
Launchpad Translations on behalf of openerp d159b7b182 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110928051941-ui5tnmsl3fgkdugk
2011-09-28 05:19:41 +00:00
Olivier Dony 762637518b [MERGE] osv_memory removed, merged into database-backed Model/TransientModel
bzr revid: odo@openerp.com-20110927213712-9aa0x0aqoh13f6ga
2011-09-27 23:37:12 +02:00
Vo Minh Thu 0a8fe1e3b5 [IMP] ir_sequence: draining the swamp while being up to my neck in alligators.
bzr revid: vmt@openerp.com-20110927213612-y8qzz2cma1cmfo69
2011-09-27 23:36:12 +02:00
Vo Minh Thu 6d6f22015a [IMP] ir_sequence: whitespace and other hair cut changes.
bzr revid: vmt@openerp.com-20110927183830-9mkkphmpzquyqsjn
2011-09-27 20:38:30 +02:00
Olivier Dony 209390d627 [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110927165133-uwl7px6bxl6eu7us
2011-09-27 18:51:33 +02:00
Fabien Pinckaers ae0649df5f merge
bzr revid: fp@tinyerp.com-20110927140526-ld9eost69hspy69i
2011-09-27 16:05:26 +02:00
Fabien Pinckaers c3afdca2ab [IMP] generate XML id when exporting an ID that does not exists
bzr revid: fp@tinyerp.com-20110927140450-2b78h9dsb1fh7t11
2011-09-27 16:04:50 +02:00
Vo Minh Thu 610eef07cd [IMP] xmlrpc: reverted the common/db URI fusion, we prefer to keep the separate URI.
bzr revid: vmt@openerp.com-20110927133522-5qcngogolyw88vo7
2011-09-27 15:35:22 +02:00
Naresh (OpenERP) 7101204a22 [FIX/IMP]:stored function override were not removed
lp bug: https://launchpad.net/bugs/789576 fixed

bzr revid: nch@tinyerp.com-20110927105821-3rmydltdyv4gv830
2011-09-27 16:28:21 +05:30
Vo Minh Thu 08cfadaff0 [IMP] xmlrpc: somewhat streamlined the exception types/
exception handling code.
OpenERPDispatcherException which was simply wrapping an exception together with
an exc_info is removed.

bzr revid: vmt@openerp.com-20110927102246-87ibftawukc2d8lc
2011-09-27 12:22:46 +02:00
Vo Minh Thu 8b2f8e1c88 [FIX] res_user: def read(..., fields, ...): fields must be optional.
bzr revid: vmt@openerp.com-20110927095345-3xj7e8fw87vcxpqy
2011-09-27 11:53:45 +02:00
Vo Minh Thu e8dc0edbaa [IMP] xmlrpc: use some commented constant symobls instead of raw numbers.
bzr revid: vmt@openerp.com-20110927081902-4zu2mri9zx8j27tb
2011-09-27 10:19:02 +02:00
Launchpad Translations on behalf of openerp de2cc0f25c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110927044723-1yi0gplgo6mhwm97
2011-09-27 04:47:23 +00:00
Olivier Dony ad4a216e7d [IMP] fields.m2m: support implicit generation of m2m SQL names
This allows for transparent inheritance of m2m columns via _inherit,
as long as the m2m relationship table is not explicitly named in 
the declaration.

bzr revid: odo@openerp.com-20110926171451-n2jg8pbl5mq715vk
2011-09-26 19:14:51 +02:00
Vo Minh Thu 157580b8e8 [IMP] xmlrpc: use proper exception type to map to xmlrpc error codes.
bzr revid: vmt@openerp.com-20110926151403-fhx4ph22tua2s3st
2011-09-26 17:14:03 +02:00
Vo Minh Thu bbd10d96c0 [IMP] exceptions: replace ExceptionNoTb with AccessDenied.
bzr revid: vmt@openerp.com-20110926125358-8yy4tvnemfna72u7
2011-09-26 14:53:58 +02:00
Olivier Dony f81fe2dc6e [IMP] orm: enforce proper m2o ondelete rules between TransientModels and Models
bzr revid: odo@openerp.com-20110926111226-fu834vqwm4gbxk8l
2011-09-26 13:12:26 +02:00
Olivier Dony 6462c85f6c [IMP] start unifying the SUPERUSER_ID constant
bzr revid: odo@openerp.com-20110926090156-2smbh0ypzitauhmt
2011-09-26 11:01:56 +02:00
Xavier Morel 0de487e029 [IMP] doc for import_data
bzr revid: xmo@openerp.com-20110926075115-bsdyjzk5nhp0cbnh
2011-09-26 09:51:15 +02:00
Antony Lesuisse d1e40a55af [IMP] directory cleanups, moved historical cruft into history
bzr revid: al@openerp.com-20110926005444-a7vqjb05vep7xbvj
2011-09-26 02:54:44 +02:00
Vo Minh Thu f16e2ef10a [IMP] websrv_lib: removed top-level http handlers.
We have to keep for now the sub-handler code because webdav uses it.

bzr revid: vmt@openerp.com-20110925170827-x2xvdz5pzupnu28k
2011-09-25 19:08:27 +02:00
Vo Minh Thu b7a0c1061e [IMP] xmlrpc: correctly use int fault code instead of string.
bzr revid: vmt@openerp.com-20110925162925-7d0p807u6h087whk
2011-09-25 18:29:25 +02:00
Vo Minh Thu a7a826b2df [IMP] netsvc: removed unused auth param.
The auth param is an auth proxy/provider. The idea is that an auth proxy
is associated to some HTTP request handler. The handler can then use it
when necessary, depending on the accessed resource.
As of now, it is only used by the webdav module. But really, the caldav
module accesses the proxy directly on the handler.
Currently in web_services, authentication is simply done via
security.check().

bzr revid: vmt@openerp.com-20110925152318-i3jvimumm51e2lu4
2011-09-25 17:23:18 +02:00
Vo Minh Thu a254a13dc3 [IMP] xmlrpc: versioned API.
bzr revid: vmt@openerp.com-20110925150923-au0u0nply8lriise
2011-09-25 17:09:23 +02:00
Vo Minh Thu 007da7d0c7 [FIX] openerp.service: call wsgi.stop_server upon server shutdown.
bzr revid: vmt@openerp.com-20110925150232-qidzjypddp22el1f
2011-09-25 17:02:32 +02:00
Fabien Pinckaers dee06af4b1 [FIX] YAML empty records
bzr revid: fp@tinyerp.com-20110925140802-gnyr92iepj73ceg0
2011-09-25 16:08:02 +02:00
Launchpad Translations on behalf of openerp e33f8abf7c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110925044050-bjkzm7pf2t39mxwn
bzr revid: launchpad_translations_on_behalf_of_openerp-20110925044108-geoyxpt8oeooq8op
2011-09-25 04:41:08 +00:00
Olivier Dony da705a6b55 [FIX] rpc: honor *_interface options + log it
bzr revid: odo@openerp.com-20110925014243-0q1o67twburpga0z
2011-09-25 03:42:43 +02:00
Antony Lesuisse 404e545365 [FIX] revert 3651 al@openerp.com-20110925003322-yioqd1cdlffvr6uc http static is used by webdav
bzr revid: al@openerp.com-20110925012039-4hmqj2v5aaxxtxwy
2011-09-25 03:20:39 +02:00
Antony Lesuisse d3b76ea7f1 [IMP] temporary web dbfilter before metaoptions
bzr revid: al@openerp.com-20110925005437-7jdgrzl7i4ihx44y
2011-09-25 02:54:37 +02:00
Antony Lesuisse eda28246ee [REM] http static crap (you may use web controllers or /static dir)
bzr revid: al@openerp.com-20110925003322-yioqd1cdlffvr6uc
2011-09-25 02:33:22 +02:00
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
Vo Minh Thu 2cb580673c [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110922131744-20bc3jsdfrbxmu8p
2011-09-22 15:17:44 +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 4e90af3e4e [IMP] orm: get_pg_type() does not use early return.
This is the style advocated by the R&D team. But in fact,
I am not that sure it proves more readable... Bike shedding
is hard.

bzr revid: vmt@openerp.com-20110921082044-cfqksvka6yqvkfci
2011-09-21 10:20:44 +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
Xavier Morel e575211116 [IMP] add a pair of assertions on the parameter to VARCHAR, just in case
bzr revid: xmo@openerp.com-20110909162929-w1l328oh14ccn7f8
2011-09-09 18:29:29 +02:00
Xavier Morel 9c83238f18 [FIX] reimplement quality selection field API
a size attribute of -1 means the selection field is an int4, even if the selection is a callable

bzr revid: xmo@openerp.com-20110909161623-nab218ea48ucj4qt
2011-09-09 18:16:23 +02:00
Xavier Morel 0d965c2fca [FIX] if types can be overridden, type-checking against the overriden type instead of the non-overridden instance might be a good idea as well
bzr revid: xmo@openerp.com-20110909155848-5no3pvtfugqmhm8q
2011-09-09 17:58:48 +02: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
Xavier Morel cbaa36c8cc [FIX] typo, might want to launch the software from time to time while changing stuff
bzr revid: xmo@openerp.com-20110909154242-gve3dgsbmg6crkya
2011-09-09 17:42:42 +02:00
Xavier Morel 4b8be3a051 [IMP] use early returns instead of a single return point
bzr revid: xmo@openerp.com-20110909153935-uk4cggyv78nfdjqt
2011-09-09 17:39:35 +02:00
Xavier Morel f74c55182a [IMP] lift mapping from field types to PGTYPES outside get_pg_type
bzr revid: xmo@openerp.com-20110909152622-114y4401x6gw6a79
2011-09-09 17:26:22 +02:00
Xavier Morel b9ed013504 [IMP] use logging API in get_pg_types
bzr revid: xmo@openerp.com-20110909152445-pol8ko3ckzc6p7s0
2011-09-09 17:24:45 +02:00
Xavier Morel 7a3960f736 [IMP] remove size inference for selection lists with str|unicode value choices, simplify selection pg_type selection
* if the first element of the choices list is an integer, use int4
* if the field has a size, use that size
* else use an unrestricted varchar

bzr revid: xmo@openerp.com-20110909152307-ralzt1g8l1b3e46x
2011-09-09 17:23:07 +02:00
Xavier Morel 8668ad7ed3 [IMP] have function fields delegate their pg_type discovery to get_pg_type
* add a type override to get_pg_type, so the function field can pass itself as another field type
* special-case the 'selection' role, not sure it's correct but it was pretty special last time around (I guess since we don't have the field's values available we can't just do the type/size inference of get_pg_type)

bzr revid: xmo@openerp.com-20110909145213-y172z8eyfnond43w
2011-09-09 16:52:13 +02:00
Xavier Morel cf44b49c93 [IMP] extract VARCHAR typing, if no size is provided (or the size is 0) don't put a limit on the varchar
bzr revid: xmo@openerp.com-20110909143349-5sykc4lpsn3rxf5w
2011-09-09 16:33:49 +02:00
Xavier Morel 09b63ae6ea [FIX] don't *eval* field names to get the field type associated with a function field
bzr revid: xmo@openerp.com-20110909141541-p172s7jqu597sjc9
2011-09-09 16:15:41 +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