Commit Graph

1575 Commits

Author SHA1 Message Date
Fabien Pinckaers e25fe1f261 [FIX] count 0, need to fix the web client
bzr revid: fp@tinyerp.com-20111113124848-r1youtgj7c5li8b2
2011-11-13 13:48:48 +01:00
Fabien Pinckaers 8ea267b822 [IMP] _group_by_full implementation
bzr revid: fp@tinyerp.com-20111113121405-oa9ggpf115gv3cbe
2011-11-13 13:14:05 +01:00
niv-openerp dbb82b089b [fix] exception when querying a tree view for an osv which does not contain any column (common in the wizards)
lp bug: https://launchpad.net/bugs/877989 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111110135106-crieyt6cnscqocs5
2011-11-10 14:51:06 +01:00
Xavier Morel 783cc897d7 [ADD] new-style dashboards to schema
bzr revid: xmo@openerp.com-20111110124102-2zhxrk8a68bvo75h
2011-11-10 13:41:02 +01:00
Xavier Morel e361ee97d1 [REF] deduplicate old-style dashboard elements
bzr revid: xmo@openerp.com-20111110112611-u4mxmgp6lrezytdy
2011-11-10 12:26:11 +01:00
Xavier Morel 8015497a02 [IMP] fix some identation
bzr revid: xmo@openerp.com-20111110104933-cd4nfujpgxwqf817
2011-11-10 11:49:33 +01:00
Olivier Dony ca05a8dbc6 [ADD] orm.fields_get: include `relation_field` for one2many fields
bzr revid: odo@openerp.com-20111109155645-f7u5z14xhju271d5
2011-11-09 16:56:45 +01:00
Vo Minh Thu b00473034a [IMP] typo.
bzr revid: vmt@openerp.com-20111109123042-9vtfp6uv7qsgy4pz
2011-11-09 13:30:42 +01:00
Antony Lesuisse 59ca0770d4 [MERGE] polish1 (stw)
bzr revid: al@openerp.com-20111108223621-nla01e2csohbbggb
2011-11-08 23:36:21 +01:00
Antony Lesuisse e199c8fc9d [IMP] add target inline add usage tooltip
bzr revid: al@openerp.com-20111108215555-8ub8bo01lbw7e2e2
2011-11-08 22:55:55 +01:00
Numerigraphe - Lionel Sausin ae2be16844 [FIX] unmutable defaults in report
bzr revid: ls@numerigraphe.fr-20111107154556-eofj5s55tkqntsty
2011-11-07 16:45:56 +01:00
Numerigraphe - Lionel Sausin 4651cf935e [FIX] unmutable defaults in safe_eval
bzr revid: ls@numerigraphe.fr-20111107152640-t28rgkfs05jwduab
2011-11-07 16:26:40 +01:00
Numerigraphe - Lionel Sausin 9ed5cbb24c [FIX] unmutable defaults in base addons.
bzr revid: ls@numerigraphe.fr-20111107151949-n9prrufvqe3ohz18
2011-11-07 16:19:49 +01:00
Launchpad Translations on behalf of openerp b6defa5269 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111105044721-cpdly6yxpvqw3sue
bzr revid: launchpad_translations_on_behalf_of_openerp-20111106052344-2lwwowp57hoag22p
2011-11-06 05:23:44 +00:00
Olivier Dony ce558209ab [MERGE] Fix for bug 885299: properly manage XML chars escaping in reports in all cases
bzr revid: odo@openerp.com-20111104164222-315uq7my7oa42v8d
2011-11-04 17:42:22 +01:00
Quentin (OpenERP) 1097bbeaca [FIX] rml2pdf: _process_text escaping char for xml
lp bug: https://launchpad.net/bugs/885299 fixed

bzr revid: qdp-launchpad@openerp.com-20111104155759-e0tme9o3g1ef00tq
2011-11-04 16:57:59 +01:00
Olivier Dony 44475831b9 [IMP] release: add structured version_info tuple, properly comparable
The semantics were inspired by Python's own sys.version_info

bzr revid: odo@openerp.com-20111104144112-jab9uyt9wnqlziri
2011-11-04 15:41:12 +01:00
Launchpad Translations on behalf of openerp 616950dce1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111104045519-32vjnqdqwo2ekurm
2011-11-04 04:55:19 +00:00
Stefan Rijnhart 998add6e89 [FIX] replace exception by warning, for friendly deprecation
bzr revid: stefan@therp.nl-20111102202254-jllcl905swnwatm5
2011-11-02 21:22:54 +01:00
Rucha (Open ERP) 792023dbce [FIX]: yaml: In !delete tag if we provide id of record to be deleted instead of search, it was raising error as node.search is None and we cannot use len()
bzr revid: rpa@tinyerp.com-20111102124614-4q5stzqxwfbayclj
2011-11-02 18:16:14 +05:30
Stefan Rijnhart eb47646018 [FIX] values for non existing fields in base xml data files
bzr revid: stefan@therp.nl-20111101161359-ui30fbn402v5j6qg
2011-11-01 17:13:59 +01:00
Guewen Baconnier a59c66ed40 [FIX] fields.sparse: do not store the keys with null values anymore. We don't need them (and this will help to keep clean json fields) and this caused problems at the read from client because None values were sent by XMLRPC
bzr revid: guewen.baconnier@camptocamp.com-20111101151639-rcos08pbnxhhxfxa
2011-11-01 16:16:39 +01:00
Stefan Rijnhart c9b91cae01 [FIX] model and field name were reversed in exception message
bzr revid: stefan@therp.nl-20111101141446-acxui2dymoul71ma
2011-11-01 15:14:46 +01:00
Stefan Rijnhart 65f4975ac1 [FIX] Raise when an unknown field is being written to
lp bug: https://launchpad.net/bugs/727727 fixed

bzr revid: stefan@therp.nl-20111101135731-uo203jmag5nuf56p
2011-11-01 14:57:31 +01:00
Divyesh Makwana (Open ERP) 7dace5081d [FIX] The main application wizard must trigger chart of account wizardS
lp bug: https://launchpad.net/bugs/876260 fixed

bzr revid: mdi@tinyerp.com-20111031055221-qvwgi4w7hfpdjcco
2011-10-31 11:22:21 +05:30
Antony Lesuisse 01dce90eb4 [IMP] Create Setting->Email root menu item
bzr revid: al@openerp.com-20111027071000-cwfpk7wd7r82sw2c
2011-10-27 09:10:00 +02:00
Launchpad Translations on behalf of openerp 7fd2f34625 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111027052151-iq59w01y3570qp2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20111027052219-al2lmoforak20zt4
2011-10-27 05:22:19 +00:00
Stephane Wirtel 0f60aa977b [FIX] Remove the 'Customer Relationship Management' category
bzr revid: stw@openerp.com-20111026121134-pbfwvs5b6aq6sybx
2011-10-26 14:11:34 +02:00
Stephane Wirtel 61b8e7b9a1 [FIX] Change the label of the administration menu
bzr revid: stw@openerp.com-20111026111912-qwjzkynawc0nzubn
2011-10-26 13:19:12 +02:00
Stephane Wirtel 94aef18492 [FIX] Set the right label for a category
bzr revid: stw@openerp.com-20111026111855-p4gczm9skol0lmox
2011-10-26 13:18:55 +02:00
Fabien Meghazi 39904f481a [FIX] Fixed partner kanban view (Missing <field/> tags)
[ADD] Added partners image for kanban view

bzr revid: fme@openerp.com-20111025204847-qjalrra46mgxmvvn
2011-10-25 22:48:47 +02:00
Olivier Dony d8e5a280d5 [ADD] res.currency data: definition of Chilean Peso
bzr revid: odo@openerp.com-20111024120219-k0a1l6ekjsrgc2p0
2011-10-24 14:02:19 +02:00
Olivier Dony 956ed719ae [IMP] fields.boolean,integer,float: warning when required=True, as it has no effect
A PendingDeprecationWarning is used in order to reduce the
verbosity of the logging, and to indicate that we might
forbid passing required=True in a future OpenERP version
for fields types where it makes no sense.

bzr revid: odo@openerp.com-20111021142836-0k4qruhe1vgodysu
2011-10-21 16:28:36 +02:00
Olivier Dony 222d75cb1e [FIX] ir.action.report_xml: useless required attribute on boolean column
bzr revid: odo@openerp.com-20111021132802-segctl9j05k2khq0
2011-10-21 15:28:02 +02:00
Xavier Morel e317c222a1 [IMP] alias some values in data import, for readability
bzr revid: xmo@openerp.com-20111019114618-6ih4wgfr5hu1kgiy
2011-10-19 13:46:18 +02:00
Xavier Morel b0a92831b3 [IMP] iterate over list indexes + ids via enumerate() rather than via range(len()) + __getitem__
bzr revid: xmo@openerp.com-20111019110215-9jykf1xrzavh00j2
2011-10-19 13:02:15 +02:00
Launchpad Translations on behalf of openerp e3ffcd94d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019044609-vzsrc1a6nn17ahbo
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019055343-7s4rmkn8lpxvyt4n
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019060521-3smagczfoys4j5wl
2011-10-19 06:05:21 +00:00
Xavier Morel 5c8d64d862 [FIX] make module categories readable by all users
web client's new default home dashboard uses module categories to know what to display,
this means it did not work for regular users who would not be allowed to view the
application tiles of the default home, and would get an error popup instead

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

bzr revid: xmo@openerp.com-20111018111920-qetmtu06x4p3t3kp
2011-10-18 13:19:20 +02:00
Dmitrijs Ledkovs d0f70e9b29 [IMP] allow to unset fields in yaml import
lp bug: https://launchpad.net/bugs/873456 fixed

bzr revid: dmitrijs.ledkovs@credativ.co.uk-20111013162021-225j5kl25bg9su3a
2011-10-13 17:20:21 +01:00
Olivier Dony c18e1fc203 [FIX] res.users: last login time should use UTC like all server-side timestamps
bzr revid: odo@openerp.com-20111012162927-iq83m08vuwj43syz
2011-10-12 18:29:27 +02:00
Olivier Dony 0d2bc8f3ae [FIX] modules.graph: avoid crash when a module has been deleted from the filesystem
bzr revid: odo@openerp.com-20111012155818-u07arzkokf9zshr0
2011-10-12 17:58:18 +02:00
Olivier Dony abf626b644 [IMP] ir.config.parameter: move all default params together
bzr revid: odo@openerp.com-20111012155707-fgb0pn8dj2l0ukiu
2011-10-12 17:57:07 +02:00
Fabien Meghazi bb26483206 [IMP] res.widget data: Do not try to instantiate twitter api if twitter lib was not successfully fetched.
bzr revid: fme@openerp.com-20111012144858-keqaec4f3ru5jvml
2011-10-12 16:48:58 +02:00
Vo Minh Thu bfbfbc4ac6 [FIX] orm.copy(): corrected return value in docstring.
bzr revid: vmt@openerp.com-20111012090357-2lt8md5s37qp2vm1
2011-10-12 11:03:57 +02:00
Rucha (Open ERP) fc8498ea9c [FIX]: Fixed problem of context not passed properly in creating record by !record tag of yml with context.
bzr revid: rpa@tinyerp.com-20111012063145-6feojywf8a7jo91m
2011-10-12 12:01:45 +05:30
Olivier Dony 76c702ca3c [FIX] Model.import_data docstring: cleanup + clear RST warnings for autodoc
The pipe character is taken as an inline substitution
marker, and is easy to avoid in most cases except within
literal blocks.

bzr revid: odo@openerp.com-20111011171148-rluwokcsx7i38i6e
2011-10-11 19:11:48 +02:00
Olivier Dony 4140e3546a [FIX] expression: proper handling of empty string in m2o domain criterions
Also fixed incorrect name_search() implementations in
res.partner and res.currency, and added corresponding
tests.

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

bzr revid: odo@openerp.com-20111011163435-szj9vm6x9x8nryn8
2011-10-11 18:34:35 +02:00
Olivier Dony 7f34a19db6 [MERGE] new ORM method for converting o2m commands sequences to record dicts, useful for addons (by Xavier Morel)
bzr revid: odo@openerp.com-20111011144927-mch6uy11z347fcku
2011-10-11 16:49:27 +02:00
Olivier Dony c16befa983 [IMP] orm: resolve_o2m_commands_...: simplify assert, remove context doc following guidelines
bzr revid: odo@openerp.com-20111011144146-b9rt5kc9sb5lj0dr
2011-10-11 16:41:46 +02:00
Xavier Morel 34fcc08a1f [IMP] docstring for resolve_o2m_commands_...
bzr revid: xmo@openerp.com-20111011094551-vr27on7iibdd9tv6
2011-10-11 11:45:51 +02:00
Xavier Morel 8507ceddcf [IMP] make resolve_o2m_commands_to_record_dicts's result eager as per vmt's suggestion
bzr revid: xmo@openerp.com-20111011085715-cvcficcy4di9q29i
2011-10-11 10:57:15 +02:00
Xavier Morel 2646a34cf0 [ADD] don't blow up on a singleton DELETE_ALL command (that command takes no parameters, so can have just (5,))
bzr revid: xmo@openerp.com-20111011084852-hborz317ru5pbzux
2011-10-11 10:48:52 +02:00
Xavier Morel 8734ffb6c2 [IMP] raise assertion error if an o2m command is not one of CREATE, UPDATE or LINK_TO
bzr revid: xmo@openerp.com-20111011083824-4g0ros6f3xgslkq4
2011-10-11 10:38:24 +02:00
Xavier Morel 4d0a189796 [IMP] handle case where o2m commands are pairs instead of triplets
bzr revid: xmo@openerp.com-20111011081202-y1ou74u038o2kl58
2011-10-11 10:12:02 +02:00
Xavier Morel b5ee13a845 [IMP] rename serialize_o2m_commands to resolve_o2m_commands_to_record_dicts
bzr revid: xmo@openerp.com-20111011080338-hup42vivlvk4dly0
2011-10-11 10:03:38 +02:00
Launchpad Translations on behalf of openerp 9ceaf4fdf3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011052920-un4k47tkwv7djqt2
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011053536-w0rdhuhwp04uxnpd
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011054224-cr2q9q3picqoasam
2011-10-11 05:42:24 +00:00
Quentin (OpenERP) d2e0d0fc41 [MERGE] added lempiria currency (HNL) used in Honduras
bzr revid: qdp-launchpad@openerp.com-20111010164823-n8snd4ghwa16jens
2011-10-10 18:48:23 +02:00
Quentin (OpenERP) 8ee01638a5 [IMP] base, res.currency data: added HNL currency (from Honduras) and rate
bzr revid: qdp-launchpad@openerp.com-20111010155809-2k3tp80n8cfn8hx0
2011-10-10 17:58:09 +02:00
Olivier Dony 0c9e9a7643 [IMP] rng,convert: add support for report `usage` attribute
The `usage` attribute may indicate a special purpose
of this report. For instance, the "default" usage
is used to identify the report to include along with
a record for EDI exports.

bzr revid: odo@openerp.com-20111010142226-ceradf4acsbr3r5l
2011-10-10 16:22:26 +02:00
Xavier Morel d5accc0fae [ADD] method to correctly serialize o2m commands into a sequence of record-dicts for e.g. onchanges
also alters res.partner.bank _default_value to use it with res.partner addresses, and adds a few tests to ensure behavior is correct

bzr revid: xmo@openerp.com-20111010135157-dafgcwwcni5gkeom
2011-10-10 15:51:57 +02:00
Xavier Morel 8a5314b15e [FIX] context usage (context may be None in _default_value), dict.get (no need for a False default value in a conditional)
bzr revid: xmo@openerp.com-20111010081021-ijcuchd53dbdr9lc
2011-10-10 10:10:21 +02:00
Xavier Morel 26140ce8f4 [IMP] further improve reading of o2m commands, first read the record itself if an id was provided then update it with the record data if any
bzr revid: xmo@openerp.com-20111010080911-ykosbh8kp3tljyri
2011-10-10 10:09:11 +02:00
Antony Lesuisse a12afa90e3 [MERGE] mark demo res_log entries as read
bzr revid: al@openerp.com-20111017151252-zklo1vm2tlogp7v8
2011-10-17 17:12:52 +02:00
Olivier Dony 5823bf1634 [FIX] ir.mail_server: except_osv's signature has changed + care for non-ascii mail errors
bzr revid: odo@openerp.com-20111017145714-36khvwvipuf8cauh
2011-10-17 16:57:14 +02:00
Raphael Collet 3b3cf8e430 [IMP] mark as read all res_log entries created during a module installation
bzr revid: rco@openerp.com-20111017144615-e5b45twvm1s07ruf
2011-10-17 16:46:15 +02:00
Olivier Dony 9d916e684e [FIX] ir_model.name_search: was incorrectly relying on name_search implementation details
As a result, it had been broken by a recent change in the implementation
of Model.name_search().

bzr revid: odo@openerp.com-20111017133702-mppmb8w54n6z23ck
2011-10-17 15:37:02 +02:00
Vo Minh Thu ec3ea4197e [FIX] tools.translate: release.support_email has been removed, so we no longer set the Report-Msgid-Bugs-To value in .po files.
lp bug: https://launchpad.net/bugs/873959 fixed

bzr revid: vmt@openerp.com-20111014150210-qs7n58cocvnjputl
2011-10-14 17:02:10 +02:00
Christophe Simonis 952e4cf602 [IMP] command line: move the option "addons-path" to the right group
bzr revid: chs@openerp.com-20111014093626-4ndm6kzgxd2idmjn
2011-10-14 11:36:26 +02:00
Christophe Simonis a760d1f75a [IMP] do no hardcode the port for the default value of ir.config_parameter web.base.url
bzr revid: chs@openerp.com-20111014093328-lztmfdnekti62i43
2011-10-14 11:33:28 +02:00
Olivier Dony 462f808500 [IMP] ir.model.data: sanity check to help prevent external IDs conflict between models
bzr revid: odo@openerp.com-20111013163316-gjct0pyrxfz9bm45
2011-10-13 18:33:16 +02:00
Olivier Dony 8d994ad625 [MERGE] added authenticate() API method for checking credentials w/ UA environment
bzr revid: odo@openerp.com-20111013152007-xj780k9r7j9roipx
2011-10-13 17:20:07 +02:00
Christophe Simonis bd7c5ee6f8 [IMP] base: authenticate: use "base_location" key instead on "host"
bzr revid: chs@openerp.com-20111013143245-vrcs89hennc2beu4
2011-10-13 16:32:45 +02:00
Olivier Dony 97ba7be42d [IMP] res.users,web_services: new authenticate() API method for testing credentials
Provides a way to login for a given environment, passing
      user agent environment parameters.
      Currently used to initialize the web.base.url config
      parameter based on the web host whenever the admin user
      logs in.

bzr revid: odo@openerp.com-20111013104750-y0natm9v3wapn10l
2011-10-13 12:47:50 +02:00
Quentin (OpenERP) 2be7586c54 [FIX] fields.related: fix example in docstring
bzr revid: qdp-launchpad@openerp.com-20111013093423-lynuxoan01327jv9
2011-10-13 11:34:23 +02:00
Xavier Morel fc28192527 [IMP] if no address value is provided for res.partner.bank default_get context, try to read the address from its id
the web client currently does not send all record data when an o2m is used as a context value, it only sends the ids (at least when the o2m records have not been locally modified)

bzr revid: xmo@openerp.com-20111007131052-4qqo027b2mp16nd6
2011-10-07 15:10:52 +02:00
Olivier Dony f3cf4c359a [IMP] ir.sequence: tone down get_id() deprecation WARNING to DEBUG
For 6.1 we will still support get_id(), but should start phasing it
out for 6.2, so we will switch it back to WARNING after 6.1

bzr revid: odo@openerp.com-20111007145406-9rmfowimthedvoni
2011-10-07 16:54:06 +02:00
Olivier Dony d86c283434 [FIX] orm.browse_record: avoid printing unrelated traceback upon KeyError
bzr revid: odo@openerp.com-20111007144944-j4obwcbvx9awkj30
2011-10-07 16:49:44 +02:00
Olivier Dony 5aca6a91fa [IMP] tools.ustr: fix possible stack overflow for exception_to_unicode + tabs->spaces
bzr revid: odo@openerp.com-20111007144806-lodke0woag32sin5
2011-10-07 16:48:06 +02:00
Stephane Wirtel 33963719aa [FIX] base: set the right xml_id for the hidden/link category
bzr revid: stw@openerp.com-20111006142946-qebop8c2gs620ma7
2011-10-06 16:29:46 +02:00
Xavier Morel 65456808bc [ADD] wrapper to the modifiers setup process to simplify its call by third parties
bzr revid: xmo@openerp.com-20111006142727-spfj8foiln6m2jb9
2011-10-06 16:27:27 +02:00
Vo Minh Thu 9990d8126e [IMP] orm: added small comment.
bzr revid: vmt@openerp.com-20111006114444-4llzirnl4tg4p5qy
2011-10-06 13:44:44 +02:00
Vo Minh Thu 4dc26443d1 [MERGE] orm: cleand get_pg_type(). Changes as written in the merge prop.:
* Extracted creation of VARCHAR pg_type into a separate function, make missing 
  size (or size 0) create an unlimited VARCHAR field (effectively limited by
  postgres to 1GB data)
* Extracted fields to pg_types mapping outside of get_pg_type
* Made fields.function recursively forward to get_pg_type (via a type overload) 
  instead of reimplementing half get_pg_type in itself
* Simplified some get_pg_type cases

Note: if this is merged, it might be nice to convert fields.selection to use an 
API similar to fields.function: default to VARCHAR storage, if there's a type
attribute override use that type. Currently, fields.selection is handled the
following way:

* If the selection is a list and the type of the first half of the first item 
  is an integer, use type int4
* If the field has a __size=-1__ attribute, use type int4
* Else use type varchar (with size specified on the field, if any)

One change from previous version is that if type of the first half of the first 
item of the selection was str or unicode, it tried to find the longest string
and used that as the field's size. This meant silent loss of data if new,
longer items were added to the selection without recreating the whole db (or at
least manually altering the relevant fields). It also used the field's size or
*16* as a minimum default, for some reason, and if there was no size specified
on the selection (or size=0) it just hardcoded the size to 16.

bzr revid: vmt@openerp.com-20111006081336-uka6srvdmvs0s4lm
2011-10-06 10:13:36 +02:00
Vo Minh Thu 3606959a1a [MERGE] expression: no active_test when rewriting the main query.
bzr revid: vmt@openerp.com-20111006075655-gl444vgzcbu1j887
2011-10-06 09:56:55 +02:00
Vo Minh Thu f8e797ea28 [MERGE] fields.property: correctly tests for many2one/relative fields.
bzr revid: vmt@openerp.com-20111006074753-e505g95tcz8js5ju
2011-10-06 09:47:53 +02:00
Antony Lesuisse 21ebf62d23 [MERGE] base_setup dynamic category defintions
bzr revid: al@openerp.com-20111005165259-2xbmw8vo5k1neikn
2011-10-05 18:52:59 +02:00
Vo Minh Thu 491dc693d6 [IMP] fields.property: be more explicit when testing if something is a browse_record.
bzr revid: vmt@openerp.com-20111005154857-ic3yzb3dead33us3
2011-10-05 17:48:57 +02:00
Stephane Wirtel 61c65fc0a0 [FIX] base: set the right category for base
bzr revid: stw@openerp.com-20111005144249-p46i4up2omsuymqj
2011-10-05 16:42:49 +02:00
Stephane Wirtel 54fcb73fc1 [FIX] base: Add the visible field in the ir.module.category, this field will be used by the new base.setup.installer
bzr revid: stw@openerp.com-20111005142315-r9ypz1jeqbi8rfpo
2011-10-05 16:23:15 +02:00
Vo Minh Thu c629763a0f [FIX] two loops one loop (a previous commit) was wrongly done :(.
bzr revid: vmt@openerp.com-20111005135549-xvhtt57fl1ib7o6e
2011-10-05 15:55:49 +02:00
Vo Minh Thu 25a883b2aa [FIX] expression: we dont add any restriction on the main ids
as the possible active=True/False is already present in the main domain.

bzr revid: vmt@openerp.com-20111005133337-p8nvv26tlii7x253
2011-10-05 15:33:37 +02:00
Vo Minh Thu 478854aac0 [FIX] fields.reference: post-process reference fields to test if the referenced record exists.
bzr revid: vmt@openerp.com-20111005113434-itjuj0u3d6fhryn8
2011-10-05 13:34:34 +02:00
Xavier Morel 5eeeb67e6d [IMP] raise error when iterating over browse_record
Python has an iteration fallback protocol: when iterating over an
object which does not define __iter__, if the object defines
__getitem__ it considers that it's a list, and invokes __getitem__
from index `0`.

This can be a problem in openerp in methods which expect an list of
ids but are only given a single id (not a singleton list), in that
case self.browse() will return a single browse_record (instea of a
list) and the method tries to iterate over it by calling
browse_record.__getitem__.

Problem is that browse_record.__getitem__ is pretty deep and does
little validation, so the error appears 3 frames below where the
actual issue is with a completely cryptic message of "KeyError: 0",
which makes the actual harder to track.

By raising an error immediately in browse_record.__iter__, this kind
of issues is much easier to handle, the stack points precisely to the
frame in error with a clearer message.

bzr revid: xmo@openerp.com-20111005112444-jcp9fw6pa36ahpsd
2011-10-05 13:24:44 +02:00
Vo Minh Thu 7ccc7f388f [IMP] fields.reference: two loops one loop.
bzr revid: vmt@openerp.com-20111005105103-cutnuvfkgsjej3vc
2011-10-05 12:51:03 +02:00
Vo Minh Thu cab4e9c4a5 [FIX] orm: allow negative varchar size (meaning no limit) as used in some addons.
bzr revid: vmt@openerp.com-20111005101401-7jweikyl9ztibe4q
2011-10-05 12:14:01 +02:00
Olivier Dony d13fb7fe7e [MERGE] various bugfixes/improvements (coming from EDI development)
- _original_module is now available on model/browse_records
 - context usage in res.partner.*
 - proper name_search() + default values for res.currency
 - active_model in wkf exec context
 - safe_eval allows try/except/finally
 - yaml_import: !ref {id: xml_id} works
 - ir_mail_server: support for alternative body/subtype
 - default value for web.base.url config parameter
 - consistency rename: Model.*get_xml_id* -> *get_external_id*

bzr revid: odo@openerp.com-20111005100954-c8mbd4kz6kkqaj84
2011-10-05 12:09:54 +02:00
Olivier Dony e0a68f3be1 [REM] res.partner: moved opt_out field to email_template module
bzr revid: odo@openerp.com-20111005094843-ov5p9em7mzxb2pkn
2011-10-05 11:48:43 +02:00
Yogesh (OpenERP) 07121a762b [MERGE]
bzr revid: ysa@tinyerp.com-20111005093709-u3rg6g10rcs7tf8f
2011-10-05 15:07:09 +05:30
Yogesh (OpenERP) 2fe1e8c0d8 [MERGE]
bzr revid: ysa@tinyerp.com-20111005093516-u8v7e58ndsyuxh9u
2011-10-05 15:05:16 +05:30
Yogesh (OpenERP) 36b97bc3d7 [MERGE] Merge wtih trunk server upto revision no 3722.
bzr revid: ysa@tinyerp.com-20111005091223-uznjimebpwh0r6a4
2011-10-05 14:42:23 +05:30
Olivier Dony 57d1cbfe38 [IMP] base: update default web.base.url: port 8002->8069
bzr revid: odo@openerp.com-20111005085022-krq4qe95q84s7gol
2011-10-05 10:50:22 +02:00
Olivier Dony e510a9ce61 [REM] base: removed unused pdf test file
bzr revid: odo@openerp.com-20111005084621-totk30u0e0weol2o
2011-10-05 10:46:21 +02:00
Vo Minh Thu 6067cd3609 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111005080049-mv0ml30tti01cvba
2011-10-05 10:00:49 +02:00
Yogesh (OpenERP) 2fd484263a [MERGE] Merge wtih trunk server upto revision no 3722.
bzr revid: ysa@tinyerp.com-20111005071001-x8cdfvarwfk4brkb
2011-10-05 12:40:01 +05:30
Yogesh (OpenERP) 4de6b85979 [FIX] fix problem of poperty filed. if property field have a default value then check the id.
bzr revid: ysa@tinyerp.com-20111005065155-nfwersyv05ddjq40
2011-10-05 12:21:55 +05:30
Yogesh (OpenERP) 92b6181556 [MERGE] Merge wtih trunk server upto revision no 3722.
bzr revid: ysa@tinyerp.com-20111005055756-h6fp84gpjwg42w2v
2011-10-05 11:27:56 +05:30
Launchpad Translations on behalf of openerp ce903eb54a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111005044429-thiikup2n1y3ayb9
2011-10-05 04:44:29 +00:00
Olivier Dony 33947042fd [IMP] safe_eval: allow OPCODES for try/except/finally
bzr revid: odo@openerp.com-20111005010136-xkowcqda3kres691
2011-10-05 03:01:36 +02:00
Olivier Dony a25933be83 [IMP] res.currency: better/working default values
bzr revid: odo@openerp.com-20111005002956-1tfe5u13qid3intk
2011-10-05 02:29:56 +02:00
Olivier Dony 5cc7c4002e [IMP] res.currency: name_search() implementation to match name_get()
bzr revid: odo@openerp.com-20111005002416-vz0vzfpb2uosxu4c
2011-10-05 02:24:16 +02:00
Antony Lesuisse 5dd1e2e43c [FIX] complexity default, and base category
bzr revid: al@openerp.com-20111004231534-ay78ghc46ihb91mx
2011-10-05 01:15:34 +02:00
Olivier Dony 982b2a0894 [FIX] orm: typo in computation of Model._original_module
bzr revid: odo@openerp.com-20111004225439-xnb77gtbl77onysm
2011-10-05 00:54:39 +02:00
Antony Lesuisse 2e00f144ec [MERGE] basesetup-dynamic-stw
bzr revid: al@openerp.com-20111004223410-pbwkn5k4zq9ze1mj
2011-10-05 00:34:10 +02:00
Olivier Dony de6b69f654 [REM] edi: moved edi to a separate addon
bzr revid: odo@openerp.com-20111004205254-82krwzabg0wuf2ka
2011-10-04 22:52:54 +02:00
Olivier Dony bfdbbb51cb [FIX] orm.export_data: 'module' column is required when creating external IDs
The 'module' field of ir.model.data is required, so we
we need to set it when auto-generating ir.mode.data
entries. This acts as the namespace of the record.
Because we don't want exported records to look like they
belong to an existing module (and risk being garbage
collected at the next module update), we put these
auto-generated names in a reserved '__export__' module
namespace.

bzr revid: odo@openerp.com-20111004205140-duaww77ng4qmktj2
2011-10-04 22:51:40 +02:00
Olivier Dony edf68f510c [REM] orm: annoying INFO log lines
bzr revid: odo@openerp.com-20111004204800-f4470vy0ou3ugxnm
2011-10-04 22:48:00 +02:00
Olivier Dony 51b1201daa [IMP] orm: remember Model._original_module when constructing inheritance
ORM Models already have a _module attribute that contains the
name of the module that declared this class, however
sometimes we also need the name of the module that
declared this model the first time.
This will be stored in _original_module and is the
name of the module to which the first parent with 
the same _name belongs to.

bzr revid: odo@openerp.com-20111004204705-8z9o70n1ynpvng3i
2011-10-04 22:47:05 +02:00
Olivier Dony f07e1dc558 [IMP] res.company: temporarily comment out res.company edi helpers, needs review
bzr revid: odo@openerp.com-20111004143800-lzca5kp7hng2djee
2011-10-04 16:38:00 +02:00
Vo Minh Thu 68a0858c9c [FIX] orm: a typo made all models treated as if they were transient in check_access_rule().
bzr revid: vmt@openerp.com-20111004143335-7etc6y2kje1y20ef
2011-10-04 16:33:35 +02:00
Olivier Dony 82a4a9de0a [IMP] edi: review/corrected edi logic
bzr revid: odo@openerp.com-20111004143050-wvpp2b9r81cho3m3
2011-10-04 16:30:50 +02:00
Olivier Dony 4900560931 [IMP] res.partner.edi: working edi implementation for res.partner + smoke test
bzr revid: odo@openerp.com-20111004142951-klopyd7zn5sxf65g
2011-10-04 16:29:51 +02:00
Olivier Dony 3a224dfc06 [IMP] res.partner: better context management in name_get/name_search
bzr revid: odo@openerp.com-20111004142540-689vy1exk60druhy
2011-10-04 16:25:40 +02:00
Vo Minh Thu 8dc80c7c7c [MERGE] orm: use directly lxml.etree to generate default views.
bzr revid: vmt@openerp.com-20111004092828-79hhaiwgw4dltimd
2011-10-04 11:28:28 +02:00
Launchpad Translations on behalf of openerp 0a85361db9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111004050146-bi1cipzsk35qj5sq
bzr revid: launchpad_translations_on_behalf_of_openerp-20111004050204-nabcu9izdjhcovhd
2011-10-04 05:02:04 +00:00
Antony Lesuisse 649d172a64 [IMP] packaging remove timestamp, use version
bzr revid: al@openerp.com-20111003181001-bu4y5t8u937wb0a7
2011-10-03 20:10:01 +02:00
Olivier Dony ea019d556f [IMP] yaml_import: make !ref nodes work for m2o values
bzr revid: odo@openerp.com-20111003171302-n1quzvs2pjyn7xr6
2011-10-03 19:13:02 +02:00
Vo Minh Thu b04d607ec4 [FIX] ir_values: missing trimming of the condition (as done elsewhere).
bzr revid: vmt@openerp.com-20111003154008-k8dm2r3yhintm0ql
2011-10-03 17:40:08 +02:00
Vo Minh Thu d9b6f5e2d0 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111003153509-8mbfg1t8hm92pult
2011-10-03 17:35:09 +02:00
Vo Minh Thu 9e082fad89 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111003145135-5ysm8hpp83wey437
2011-10-03 16:51:35 +02:00
Vo Minh Thu 7b90c7e5de [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111003144503-lx28ennrz0mt590g
2011-10-03 16:45:03 +02:00
Olivier Dony 288e8ebcfc [IMP] browse_record._table -> browse_record._model
bzr revid: odo@openerp.com-20111003144049-d6o4igae8mslns5x
2011-10-03 16:40:49 +02:00
Olivier Dony f4ffbd79f4 [IMP] field.m2m: better doc for auto-named m2m relationships
bzr revid: odo@openerp.com-20111003132653-413c41exoj64q416
2011-10-03 15:26:53 +02:00
Stephane Wirtel 29337910df [FIX] base: pass the context and define a new category for the modules
bzr revid: stw@openerp.com-20111003121021-hmf0xs2wod6rjkwr
2011-10-03 14:10:21 +02:00
Fabien Pinckaers a15f532739 [IMP] config wizard list not editable
bzr revid: fp@tinyerp.com-20111002154457-5krl4kuwasihs16a
2011-10-02 17:44:57 +02:00
Fabien Pinckaers fc7675014f [IMP] config wizard, launch once
bzr revid: fp@tinyerp.com-20111002115131-cf5417apx9vfa9jc
2011-10-02 13:51:31 +02:00
Fabien Pinckaers c999a6ed8a [FIX] bad XML
bzr revid: fp@tinyerp.com-20111002105701-lj0btbhunmf09ts6
2011-10-02 12:57:01 +02:00
Fabien Pinckaers 346d19862a [IMP] mail server view
bzr revid: fp@tinyerp.com-20111001223402-zh4bmgmihliiic1c
2011-10-02 00:34:02 +02:00
Fabien Pinckaers eee9eac9bd [IMP] useability
bzr revid: fp@tinyerp.com-20111001211425-sz6o9eb01yuo1mar
2011-10-01 23:14:25 +02:00
Fabien Pinckaers f71ff61472 [IMP] useability
bzr revid: fp@tinyerp.com-20111001211247-xbcvy6t5g8w3to13
2011-10-01 23:12:47 +02:00
Fabien Pinckaers 7a9ba2babd [IMP] create additional users is active by default
bzr revid: fp@tinyerp.com-20111001203014-8ivbfso0g177gncg
2011-10-01 22:30:14 +02:00
Antony Lesuisse c1f8ecd7b9 [FIX] avoid hyphen in version
bzr revid: al@openerp.com-20111001201305-50db3aumb3f3fv33
2011-10-01 22:13:05 +02:00
Fabien Pinckaers c8a29501e4 [FIX] remove warnings, better view for mails
bzr revid: fp@tinyerp.com-20111001195103-sd8y0n4t8snzju9o
2011-10-01 21:51:03 +02:00
Fabien Pinckaers 50b353fe83 merge
bzr revid: fp@tinyerp.com-20111001184700-tk8v4vunfhwj4ihm
2011-10-01 20:47:00 +02:00
Fabien Pinckaers af3097d652 [IMP] config wizards
bzr revid: fp@tinyerp.com-20111001184612-zf8qq67k2zujve27
2011-10-01 20:46:12 +02:00
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
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
sebastien beau 4a8c48b4b1 [FIX] fix bug when updating a field. The support of renaming a field or changing the storing system will be done later, I not sure that I will have the time to implement it for 6.1. At least I will propose a new merge for 6.2
bzr revid: sebastien.beau@akretion.com.br-20110923112618-vq44f15cpcvxozxi
2011-09-23 13:26:18 +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
Dhara (OpenERP) 2d2c7519c4 merge
bzr revid: dhara_openerp-20110922230927-ksntf42ipcqcfvrq
2011-09-22 16:09:27 -07:00
Dhara (OpenERP) 6da1004cf5 [NEW] new address_format field for country
bzr revid: dhara_openerp-20110922220823-qaghdh4urgjdtea0
2011-09-22 15:08:23 -07: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
sebastien beau b243c0567c [REF] ir_model_field replace the serialisation_field by serialization_field_id
change request in base.sql as a new field is created in ir_model_fields

bzr revid: sebastien.beau@akretion.com.br-20110920170707-2wmfs1sg37hgvbl1
2011-09-20 19:07:07 +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