Commit Graph

1203 Commits

Author SHA1 Message Date
Olivier Dony 0489f83a44 [IMP] orm: rename/cleanup: get_xml_id* -> get_external_id*
bzr revid: odo@openerp.com-20110930222355-jtuo4z9dz995emxk
2011-10-01 00:23:55 +02:00
Olivier Dony bdf846b535 [FIX] edi: ir.model.data creation should be done as super-user
bzr revid: odo@openerp.com-20110930210744-7eb3ebwk5czfxbm5
2011-09-30 23:07:44 +02:00
Olivier Dony 0453878cf3 [IMP] ir.mail_server: build_email support for alternative body content
bzr revid: odo@openerp.com-20110930210651-jkkskerjt1fb4s9p
2011-09-30 23:06:51 +02:00
Olivier Dony 98c24848e5 [IMP] edi: missing access rights
bzr revid: odo@openerp.com-20110930210549-wzct536me8wxvjyg
2011-09-30 23:05:49 +02:00
Stephane Wirtel 3befd0be34 [FIX] base: Add the sequence in the ir.module.category records
bzr revid: stw@openerp.com-20110930154911-r3cyw94au06b4xse
2011-09-30 17:49:11 +02:00
Stephane Wirtel 80caa96c0c [FIX] base: add a sequence field in ir.module.category
bzr revid: stw@openerp.com-20110930154844-9wgiysywpxwyr3z0
2011-09-30 17:48:44 +02:00
Antony Lesuisse 92caa6c58c [FIX] major_version is actually required
bzr revid: al@openerp.com-20111001143351-7jll0sd5qs3izu92
2011-10-01 16:33:51 +02:00
Antony Lesuisse 78ddee02bf [IMP] packaging timestamp support
bzr revid: al@openerp.com-20111001135713-85akuaixth6ep1fz
2011-10-01 15:57:13 +02:00
Antony Lesuisse dbb99ced9b [IMP] packaging rename into openerp
bzr revid: al@openerp.com-20111001134222-0vjbvasuo5kvy255
2011-10-01 15:42:22 +02:00
Antony Lesuisse f94a1d1d14 [IMP] config set --load default to web, this will be cleaned up by metaoptions
bzr revid: al@openerp.com-20111001131619-3r32vd8atr8ebego
2011-10-01 15:16:19 +02:00
Launchpad Translations on behalf of openerp 1e3e2daffa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111001050744-5qxl5nnc5m0splxj
bzr revid: launchpad_translations_on_behalf_of_openerp-20111001050814-3bw7ldbt1om0q1zr
2011-10-01 05:08:14 +00:00
Antony Lesuisse 0b95d29ca9 [FIX] abort_response typo
bzr revid: al@openerp.com-20111001013254-obq2j3cqxwn20iq0
2011-10-01 03:32:54 +02:00
Antony Lesuisse 2a51c9a0ca [IMP] misc renames
bzr revid: al@openerp.com-20111001012801-kkk39qlm4o8hk025
2011-10-01 03:28:01 +02:00
Antony Lesuisse ace4703440 [MERGE] trunk
bzr revid: al@openerp.com-20111001012210-uqqso9y80a21hgeo
2011-10-01 03:22:10 +02:00
Antony Lesuisse 3db71a166b [IMP] ir_sequence code remove required, its only needed for company global sequences
bzr revid: al@openerp.com-20111001005618-77h9uib26c92lu1w
2011-10-01 02:56:18 +02:00
Antony Lesuisse 103054293f [IMP] ir_sequence more refactoring
bzr revid: al@openerp.com-20110930232439-zlp2vmhuoet7s4sm
2011-10-01 01:24:39 +02:00
Antony Lesuisse 997d9f4178 [IMP] minor simplification and style change (avoid inline if, less snobby, more readable)
bzr revid: al@openerp.com-20110930183806-6r78rt62cebc82iv
2011-09-30 20:38:06 +02:00
Vo Minh Thu 83fdc271e6 [FIX] ir_sequence: temporary fix: no (code,company) unique constraint.
bzr revid: vmt@openerp.com-20110930152345-cwmbotwvxaafb32f
2011-09-30 17:23:45 +02:00
Vo Minh Thu 106e8d48da [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110930151533-7mhnk5bbtwx0rjjq
2011-09-30 17:15:33 +02:00
Xavier Morel 6d70751dd7 [FIX] deadlock between crons scheduling and new registry initialization creation
bzr revid: xmo@openerp.com-20110930150026-m0h99fqk6qgne8i1
2011-09-30 17:00:26 +02:00
Vo Minh Thu b88209b499 [IMP] xmlrpc: version() moved to common, still available on /openerp/xmlrpc.
bzr revid: vmt@openerp.com-20110930135942-ytlxz7vlwl84myg0
2011-09-30 15:59:42 +02:00
Vo Minh Thu 048d2038b6 [IMP] xmlrpc: support proxy(/openerp/xmlrpc).version().
bzr revid: vmt@openerp.com-20110930133821-rujj8rxajez3p7xz
2011-09-30 15:38:21 +02:00
Vo Minh Thu 8fa79ba27d [IMP] xmlrpc: handle exceptions with isinstance instead of re-raising them,
use the openerp xml-rpc protocol version 1 path,
return an xmlrpclib Fault when the request is wrong.

bzr revid: vmt@openerp.com-20110930125538-8mo5tqdmjbb88fa8
2011-09-30 14:55:38 +02:00
Olivier Dony a5b7faffb3 [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110930122511-ddjsuqmwn0mr1p5q
2011-09-30 14:25:11 +02:00
Olivier Dony 2e02eaf46f [IMP] edi: review/cleanup (wip)
bzr revid: odo@openerp.com-20110930121900-1fzq6b0gbhxxki0j
2011-09-30 14:19:00 +02:00
Olivier Dony babb7aa0ec [FIX] fields: m2m SQL names may be dynamic now, care for it in field_to_dict()
Also cleaned up field_to_dict signature and callers to
honor conventions.

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

bzr revid: odo@openerp.com-20110930112348-4c8undh1d6h1y3ps
2011-09-30 13:23:48 +02:00
Stephane Wirtel c9fe3b9200 [MERGE] Merge Upstream
bzr revid: stw@openerp.com-20110930102326-ic6hhmwu15i0r8l1
2011-09-30 12:23:26 +02:00
Stephane Wirtel 53554035ae [FIX] store the complexity field from the manifest during the database creation
bzr revid: stw@openerp.com-20110930095814-4o01upd0krmysbid
2011-09-30 11:58:14 +02:00
Antony Lesuisse c20bd2b2f8 [FIX] webdav in /webdav
bzr revid: al@openerp.com-20110930093749-5ij7tvj9lc7lhztc
2011-09-30 11:37:49 +02:00
Vo Minh Thu f82c6503b7 [FIX] xmlrpc: handle old/new exceptions with old/new clients.
bzr revid: vmt@openerp.com-20110930085012-pqzzb3qwvdwu9hxy
2011-09-30 10:50:12 +02:00
Fabien Pinckaers c8d28ce474 [IMP] useability
bzr revid: fp@tinyerp.com-20110930081235-88jifqvfozqalu54
2011-09-30 10:12:35 +02:00
Fabien Pinckaers f0bcafb086 [IMP] useability, removing default address on main company
bzr revid: fp@tinyerp.com-20110930080729-cuhyvquvsq6i8fyq
2011-09-30 10:07:29 +02:00
Fabien Pinckaers 5ea04287be [IMP] useability, removing default address on main company
bzr revid: fp@tinyerp.com-20110930080659-3046tkjzav0jpapd
2011-09-30 10:06:59 +02:00
Fabien Pinckaers d32f04bb3c [IMP] reverting back useability on company header/footer from al
bzr revid: fp@tinyerp.com-20110930080425-wuyaef8fd2k1fuwy
2011-09-30 10:04:25 +02:00
Launchpad Translations on behalf of openerp 8507f7cc4a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110930043724-cv7w2vcqt7soa9gc
bzr revid: launchpad_translations_on_behalf_of_openerp-20110930044048-j5gv3hmo9cj3dhyg
2011-09-30 04:40:48 +00:00
Antony Lesuisse 46d3f7e42c [FIX] osv object_proxy to use new style class
bzr revid: al@openerp.com-20110929224919-uacfp8w53jfqikkj
2011-09-30 00:49:19 +02:00
Vo Minh Thu 1381ac139e [IMP] ir_sequence: (code, company_id) is unique, even for company_id IS NULL.
bzr revid: vmt@openerp.com-20110929134758-793vqith9pfcvs7w
2011-09-29 15:47:58 +02:00
Xavier Morel 3cee85eaba [FIX] typo syntax error
bzr revid: xmo@openerp.com-20110929132822-3qbbl1qttnvfhl40
2011-09-29 15:28:22 +02:00
Xavier Morel 0618731f6b [MERGE] trunk
bzr revid: xmo@openerp.com-20110929132454-oweaht1oel4st1m8
2011-09-29 15:24:54 +02:00
Xavier Morel 22b1bb8abb [FIX] do not remove 'multi=True' actions in fields_view_get for tree view
fields_view_get removed multi=True actions from the result of
ir_values.get_actions('client_action_multi', ...), so that multi
actions would not be displayed in the form view's sidebar in the GTK
client.

The web client has a sidebar in both cases, the GTK client just
ignores 'toolbar' key if not in tree view, so don't remove 'multi'
actions in tree view toolbar, to avoid having to perform one more RPC
call (explicit ir_values.get) in web client.

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

bzr revid: xmo@openerp.com-20110929130701-65ubx1o0swk889nl
2011-09-29 15:07:01 +02:00
Stephane Wirtel 593f997a43 [FIX] base: assign a parent_id for the account charts subcategory
bzr revid: stw@openerp.com-20110929123705-zm5518i1odwv06fb
2011-09-29 14:37:05 +02:00
Vo Minh Thu dc993b507e [IMP] ir_sequence: change API, deprecate old one.
bzr revid: vmt@openerp.com-20110929122753-19middna4b782tcy
2011-09-29 14:27:53 +02:00
Stephane Wirtel ccfcb47149 [IMP] base: each ir.module.category will be assigned with an
autogenerated xml-id during the creation of the database
[IMP] base: Create the records for the categories of OpenERP

bzr revid: stw@openerp.com-20110929115515-rqlwqfzndxblxqtz
2011-09-29 13:55:15 +02:00
Antony Lesuisse 02d1a7d24f [MERGE] res_partner kaban view
bzr revid: al@openerp.com-20110929101906-rsc6ru5h3k9t64gd
2011-09-29 12:19:06 +02:00
Olivier Dony acecf5e71e [MERGE] sync w/ latest trunk
bzr revid: odo@openerp.com-20110929100200-cq90mv3d3tymluyw
2011-09-29 12:02:00 +02:00
Vo Minh Thu 27f9a9676f [FIX] exceptions: except_osv in already a synonym for o.e.Warning, except_orm should not be qualified.
bzr revid: vmt@openerp.com-20110929073124-kxwwatr8l697ng8r
2011-09-29 09:31:24 +02:00
Vo Minh Thu 22291970ba [FIX] netrpc: forgot the removal of auth in the netrpc case in
the rafactoring that occured on revno 3669
(revision-id: al@openerp.com-20110928220539-5q8eujk1l0q43d4x).

bzr revid: vmt@openerp.com-20110929071713-e29kf3ipc6lzctll
2011-09-29 09:17:13 +02:00
Amit (OpenERP) 6d0fbf55c4 [MERGE]
bzr revid: apa@tinyerp.com-20110929052918-vskm1ggwv7md1b25
2011-09-29 10:59:18 +05:30
Amit (OpenERP) 224d9f4cb9 [MERGE]
bzr revid: apa@tinyerp.com-20110929052841-xpxdyyud7yubebec
2011-09-29 10:58:41 +05:30
Launchpad Translations on behalf of openerp 55d9a2abe1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110929043632-5n8npxnoc9229cw2
2011-09-29 04:36:32 +00:00
Olivier Dony b971680a53 [MERGE] multi-process/multi-threaded ir.cron implementation
bzr revid: odo@openerp.com-20110929002157-31pgkmqc96by15ak
2011-09-29 02:21:57 +02:00
Olivier Dony 5252e02cc5 [IMP] ir.cron.write/unlink: try NOWAIT lock to avoid blocking user operations during cron executions
bzr revid: odo@openerp.com-20110929001858-3v5ffsjela8y71qc
2011-09-29 02:18:58 +02:00
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