Commit Graph

37263 Commits

Author SHA1 Message Date
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
Antony Lesuisse 88e71f71e6 [FIX] base_setup category checkbox for multiple modules
bzr revid: al@openerp.com-20111014135629-adrhnvh3661tuawd
2011-10-14 15:56:29 +02:00
niv-openerp 563fff1ef3 [imp] raise more useful error message when a context is invalid
bzr revid: nicolas.vanhoren@openerp.com-20111014123307-xf7flm6er0puapew
2011-10-14 14:33:07 +02:00
Xavier Morel 8e5a6b7c61 [FIX] correctly propagate the action_data context (in a do_execute_action) to the action itself
This is mainly of use for buttons: the context they set should apply not only to fetching and executing the initial action, but to all calls within the popup they open, if any

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

bzr revid: xmo@openerp.com-20111014122020-n3uz31ilemt1lvro
2011-10-14 14:20:20 +02:00
Antony Lesuisse 46bf7add74 [FIX] base_setup category checkbox for multiple modules
bzr revid: al@openerp.com-20111014120057-lca10rm9yaz82vk0
2011-10-14 14:00:57 +02:00
Christophe Simonis 61b0d07ab8 [IMP] update .bzrignore
bzr revid: chs@openerp.com-20111014093644-m3dob9bz1ehz2f46
2011-10-14 11:36:44 +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
Xavier Morel f786f5537a [FIX] method call invocation indentation
bzr revid: xmo@openerp.com-20111014084941-cj85qsl9tfbxsvhp
2011-10-14 10:49:41 +02:00
Xavier Morel 405beaa3c6 [FIX] m2o values display in list views (mostly under onchange condition)
Normal m2o values are pairs of (id, name) (name_get format, basically)
but in some cases (lazyness & al), APIs (often onchange results) only
return the `id` part, which is not sufficient to display the m2o
as-is, a name_get has to be performed.

Added an intermediate step in displaying a table cell (in list view):
if we're displaying an m2o cell (~a cell for an m2o column) and the
value is a number, then dispatch a name_get and keep trucking (display
the rows without the m2o values).

When the name_get returns, it will simply refresh the row and diplay
the m2o name.

bzr revid: xmo@openerp.com-20111014084310-pv2mmmy28fwwk9sm
2011-10-14 10:43:10 +02:00
Launchpad Translations on behalf of openerp 55af4c6c9f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111014053451-yx0gv97xu52i75n9
2011-10-14 05:34:51 +00:00
Antony Lesuisse f4c4e83926 [MERGE] web_uservoice by chs
bzr revid: al@openerp.com-20111014004025-dhybe3j4u6c7xkzp
2011-10-14 02:40:25 +02:00
Antony Lesuisse 7b5b9d45ad [MERGE] notification cleanups by chs
bzr revid: al@openerp.com-20111014003056-3apcizt2i9qeb1ra
2011-10-14 02:30:56 +02:00
Antony Lesuisse 57d635f44d [FIX] soft reload after module installation
lp bug: https://launchpad.net/bugs/873362 fixed

bzr revid: al@openerp.com-20111013232054-2i5ptzfurjc429zw
2011-10-14 01:20:54 +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
Antony Lesuisse 8a7c61cb96 [FIX] project duplicate xmlid, useless act_window view definition
bzr revid: al@openerp.com-20111013161213-x29pjxbuaxhjqexx
2011-10-13 18:12:13 +02:00
Christophe Simonis 7dd8fcfad4 [IMP] do_notify and do_warn bubble the messages to the parent widget
bzr revid: chs@openerp.com-20111013153023-xzu2y4j5qzuqem1e
2011-10-13 17:30:23 +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
niv-openerp e67d4a7911 [fix] problem in projects, the dashboard crashes
bzr revid: nicolas.vanhoren@openerp.com-20111013151822-neo7d726yx6uno40
2011-10-13 17:18:22 +02:00
Christophe Simonis de5c2f58e8 [IMP] Notification Widget is now a singleton
bzr revid: chs@openerp.com-20111013150317-kzy2h7bz407kiugz
2011-10-13 17:03:17 +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
Fabien Meghazi f6a1313ec2 [FIX] Sidebar merge left-over
lp bug: https://launchpad.net/bugs/873347 fixed

bzr revid: fme@openerp.com-20111013141601-pircozngzr55tx2k
2011-10-13 16:16:01 +02:00
Fabien Meghazi 4065bc83b3 [FIX] Problem with action buttons in form views opened from a m2o in an editable list
bzr revid: fme@openerp.com-20111013134606-8n8i1djtg0dvcar6
2011-10-13 15:46:06 +02:00
Xavier Morel 322d20d53c [FIX] when performing name_get on m2o fields being written to BufferedDataSet, ignore m2o fields with 'false' value as well as those not being written at all
bzr revid: xmo@openerp.com-20111013125858-pboz81w3s58lk2rl
2011-10-13 14:58:58 +02:00
Xavier Morel 1635fcc568 [FIX] incorrect BufferedDataSet behavior when reading an m2o field in cache coming from an edition (or creation), inconsistent with OpenERP m2o field read() contract
when read, m2o should really be pairs, or they're pain to display. Because Dataset.create and Dataset.write are async, perform name_get resolution during these and store the correct value in cache

bzr revid: xmo@openerp.com-20111013124912-wton5lidyvaezsj6
2011-10-13 14:49:12 +02:00
Xavier Morel ce6c86ccc8 [REV] xmo@openerp.com-20111013112755-krf9y5w232ol6r1e, it's broken, going to merge improved/fixed version
bzr revid: xmo@openerp.com-20111013124719-ekwfczj45bgkoeiy
2011-10-13 14:47:19 +02:00
Xavier Morel 88314e523a [FIX] excessive coherence between BufferedDataSet cache and to_write and to_create queues ~/projects/tiny/web/current
cache should hold readable values (so pairs for m2o fields), whereas
to_create and to_write hold the data which will be processed into o2m
commands and sent over the wire to create, write and context-value
calls. As a result, to_create and to_write should only have atomic ids
for m2o fields.

Therefore, only use fixed m2o values to store in read cache.

bzr revid: xmo@openerp.com-20111013124435-vbjolacjnc9f6qz4
2011-10-13 14:44:35 +02:00
Xavier Morel 3580fb918d [FIX] inconsistency between multiple m2o fields to name_get and single when sent to $.when
bzr revid: xmo@openerp.com-20111013124227-at1nvix8yqtae8a9
2011-10-13 14:42:27 +02:00
niv-openerp 1e507afcc9 [fix] When we click a button in a m2o popup it closes the popup
lp bug: https://launchpad.net/bugs/873272 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111013115828-ctbslk34qif4cfwt
2011-10-13 13:58:28 +02:00
Xavier Morel 7da8126ad9 [FIX] BufferedDataSet to not break the m2o read contract of returning a name_get format
BufferedDataSet simply shoves stuff read() or create()d in its cache,
 but m2o is asymmetric: client writes a single id, but reads a pair of
 [id, name].
 
 Since create() and write() are async (by definition) it's the best
 place to check if the data being written contains any m2o field, and
 to fix those m2o values.

This, however, completely breaks o2m fields get_value(), and doesn't
even work correctly for create() calls.

Should probably not cache the same thing we put for creation or update
eh

bzr revid: xmo@openerp.com-20111013114449-rkhe95g1oi3gudab
2011-10-13 13:44:49 +02:00
Xavier Morel 4dc731f99c [FIX] BufferedDataSet to not break the m2o read contract of returning a name_get format
BufferedDataSet simply shoves stuff read() or create()d in its cache,
but m2o is asymmetric: client writes a single id, but reads a pair of
[id, name].

Since create() and write() are async (by definition) it's the best
place to check if the data being written contains any m2o field, and
to fix those m2o values.

bzr revid: xmo@openerp.com-20111013112755-krf9y5w232ol6r1e
2011-10-13 13:27:55 +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
Christophe Simonis 00b269d1c0 [IMP] nivification of Notification Widget
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
2011-10-13 12:26:53 +02:00
Quentin (OpenERP) b08b10d16f [REF/FIX] account: replaced 'journal_id' and 'period_id' fields on account.move.line object with fields.related
lp bug: https://launchpad.net/bugs/871314 fixed

bzr revid: qdp-launchpad@openerp.com-20111013094347-ax0v8s5xbw5l0ye3
2011-10-13 11:43:47 +02:00
Xavier Morel 15e73da330 [FIX] FormView.on_saved should resolve on a result, ideally the same as FormView.on_created minus the 'created' key
bzr revid: xmo@openerp.com-20111013085100-xpl29e2f2jnqmt1v
2011-10-13 10:51:00 +02:00
niv-openerp c7a888f343 [fix] buttons do not use an evalutation context despite the fact the context on buttons can depend on it
bzr revid: nicolas.vanhoren@openerp.com-20111013093814-xalvnvp6vajslruo
2011-10-13 11:38:14 +02:00
niv-openerp 60c7801200 [fix] some inconsistencies in context in a view in hr_recruitment
bzr revid: nicolas.vanhoren@openerp.com-20111013093656-f04vuvyl0wxihh86
2011-10-13 11:36:56 +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
Quentin (OpenERP) d1dde9bb8e [MERGE] lp:871689
bzr revid: qdp-launchpad@openerp.com-20111013081720-bqpk0y0uwbkroyjs
2011-10-13 10:17:20 +02:00
Christophe Simonis a58395f2af [FIX] do no load the menu until a session is active
[IMP] make menu loading hookable

bzr revid: chs@openerp.com-20111013081445-1xzvodzrtxvacbzz
2011-10-13 10:14:45 +02:00
Christophe Simonis d29aa73971 [IMP] allow controller functions to return werkzeug.exceptions.HTTPException (i.e. 404 errors)
bzr revid: chs@openerp.com-20111013081351-layprblm1dt140py
2011-10-13 10:13:51 +02:00
Quentin (OpenERP) d5b67730a3 [MERGE] lp:872253
bzr revid: qdp-launchpad@openerp.com-20111013080117-k7x1t0b713fdji3b
2011-10-13 10:01:17 +02:00
Quentin (OpenERP) b570942341 [MERGE] lp:872184
bzr revid: qdp-launchpad@openerp.com-20111013075736-sfp10kh9dg0qva6a
2011-10-13 09:57:36 +02:00
Quentin (OpenERP) e5b9cc059d [MERGE] lp:872677
bzr revid: qdp-launchpad@openerp.com-20111013075542-xhuiyqkmtoa4s7jo
2011-10-13 09:55:42 +02:00
Quentin (OpenERP) 2e0f068256 [MERGE] lp:872695 + added group_no_one on the filter button 'state' in the search view of account.analytic.account
bzr revid: qdp-launchpad@openerp.com-20111013075316-0e2fo8dem104wz8i
2011-10-13 09:53:16 +02:00
Quentin (OpenERP) e7075a939d [FIX] product: usability fix
lp bug: https://launchpad.net/bugs/872201 fixed

bzr revid: qdp-launchpad@openerp.com-20111013071004-9pm5ci3pac0kylna
2011-10-13 09:10:04 +02:00
Quentin (OpenERP) 406c8ec8e4 [MERGE] lp:872689
bzr revid: qdp-launchpad@openerp.com-20111013070308-uxsc2ivi9cbceys5
2011-10-13 09:03:08 +02:00
Quentin (OpenERP) a4176117d8 [MERGE] lp:867461
bzr revid: qdp-launchpad@openerp.com-20111013065824-da8j6kec8mlcjcb8
2011-10-13 08:58:24 +02:00
Quentin (OpenERP) 8cf348cc57 [IMP] account, financial.report object: added translate=True on 'name' field
bzr revid: qdp-launchpad@openerp.com-20111013065611-ibvbezd2hthzr3v9
2011-10-13 08:56:11 +02:00
Launchpad Translations on behalf of openerp 77d6481030 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111013043834-6r8jr1hhlynt3ay0
bzr revid: launchpad_translations_on_behalf_of_openerp-20111013044633-ck3w2f7b9snnkx55
2011-10-13 04:46:33 +00:00