Antony Lesuisse
caec244322
[MERGE] fixmodloading by chs
...
bzr revid: al@openerp.com-20111005172010-ii718o6v1oe6gijk
2011-10-05 19:20:10 +02:00
Antony Lesuisse
7a06e4c05d
[MERGE] base_setup dynamic introspecting ir_module_module
...
bzr revid: al@openerp.com-20111005165504-ohkyy7edqhykirei
2011-10-05 18:55:04 +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
Antony Lesuisse
d72bf86b59
[FIX] category selection
...
bzr revid: al@openerp.com-20111005165202-s3jv23v7n5py4mx1
2011-10-05 18:52:02 +02:00
Antony Lesuisse
55e0541b0f
[FIX] sed substitution
...
bzr revid: al@openerp.com-20111005163514-dzvvpsdg1hhhzb5t
2011-10-05 18:35:14 +02:00
Fabien Meghazi
1cde2fa2de
[FIX] Fixed addons path for binaries. Improved placeholder.
...
bzr revid: fme@openerp.com-20111005155740-ufdr7lwp4abpsfsu
2011-10-05 17:57:40 +02:00
Fabien Meghazi
65745d5142
[FIX] Do not compute modifiers for aggregates in list view.
...
lp bug: https://launchpad.net/bugs/865188 fixed
bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy
2011-10-05 17:32:02 +02:00
Stephane Wirtel
b9302052c8
[MERGE] Upstream
...
bzr revid: stw@openerp.com-20111005145931-piwiavbep6sr8nx3
2011-10-05 16:59:31 +02:00
Stephane Wirtel
b8f9bad1a1
[IMP] base_setup: Add the shortcut 'Add More Features' and reindent the code
...
bzr revid: stw@openerp.com-20111005145855-hu14h1whjiv669iq
2011-10-05 16:58:55 +02:00
Stephane Wirtel
db5775888b
[FIX] stock: set the right category
...
bzr revid: stw@openerp.com-20111005145822-r0thbg86zt52lis3
2011-10-05 16:58:22 +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
Antony Lesuisse
77a3624fa1
[IMP] set module category to Hidden
...
bzr revid: al@openerp.com-20111005143607-7p5z3gn4ddt3pios
2011-10-05 16:36:07 +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
Stephane Wirtel
7fdabc5b66
[MERGE] Upstream
...
bzr revid: stw@openerp.com-20111005142057-qshud5cor3s7j8v7
2011-10-05 16:20:57 +02:00
Stephane Wirtel
edf0e57305
[FIX] base_setup: Use a new flag of the ir.module.category object for the listing of applications
...
bzr revid: stw@openerp.com-20111005141932-mw8n1ccs1msino92
2011-10-05 16:19:32 +02:00
Stephane Wirtel
3dc8168974
[FIX] Set the categories
...
bzr revid: stw@openerp.com-20111005141902-72du0lku4x176ix9
2011-10-05 16:19:02 +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
Xavier Morel
d801f21146
[REV] 1150, broke filter_domain in case of empty field
...
bzr revid: xmo@openerp.com-20111005130252-oovrpbo4a1pjavwd
2011-10-05 15:02:52 +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
Xavier Morel
072bb3d8ec
[FIX] viewmanageraction loading: auto_search is the default, not the exception
...
this means if the auto_search attribute is missing, search automatically. Search should only
be prevented if auto_search is precisely false
bzr revid: xmo@openerp.com-20111005111210-qju8ocbhvqahczsz
2011-10-05 13:12:10 +02:00
Xavier Morel
68cd9188b9
[FIX] handling of value and default domain in search m2o
...
bzr revid: xmo@openerp.com-20111005105731-9431uvhay91bt10c
2011-10-05 12:57:31 +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
Fabien Meghazi
19b7493711
[FIX] When reaching ir_actions_act_window_close without dialog, call on_closed if any
...
The static homepage do not reload the page when the module installed have no configuration actions (eg: returning direcly ir_actions_act_window_close)
bzr revid: fme@openerp.com-20111005101714-s5jy3gslni00a5jo
2011-10-05 12:17:14 +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
niv-openerp
708802c357
[fix] problem with the idea module trying to override the 'active_id' context key, which it should not
...
bzr revid: nicolas.vanhoren@openerp.com-20111005095633-v53hjz3fkwlb3fso
2011-10-05 11:56:33 +02:00
Christophe Simonis
847ee8333d
[FIX] correct module loading in local mode
...
bzr revid: chs@openerp.com-20111005095505-vepaqeupdn5qywcc
2011-10-05 11:55:05 +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
niv-openerp
1bbe15f634
[fix] referencing a field in a domain that is not loaded in the view
...
bzr revid: nicolas.vanhoren@openerp.com-20111005093600-xjyqrmpoqywy1ztq
2011-10-05 11:36:00 +02:00
niv-openerp
2b7b51e0b3
[fix] problem in web client not supporting graph view in one2many
...
bzr revid: nicolas.vanhoren@openerp.com-20111005093237-22dbe1jwbkqk18pt
2011-10-05 11:32:37 +02:00
Xavier Morel
ae0ba95861
[REM] @string on in-field filter
...
bzr revid: xmo@openerp.com-20111005090518-3ht49k8s6vtrxhwl
2011-10-05 11:05:18 +02:00
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
Fabien Meghazi
ec23334891
[FIX] Fix calendar view when no date_delay neither date_stop are specified
...
lp bug: https://launchpad.net/bugs/865945 fixed
bzr revid: fme@openerp.com-20111005083656-f5bq8v1km25s4orx
2011-10-05 10:36:56 +02:00
Fabien Meghazi
a33bd2344c
[IMP] Improved styling of labels
...
bzr revid: fme@openerp.com-20111005083521-ofyfzdp8olzpjnbd
2011-10-05 10:35:21 +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
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
7342b8079e
[FIX] debian logfile name
...
bzr revid: al@openerp.com-20111005001643-ngs7quhipn79gauu
2011-10-05 02:16:43 +02:00
Antony Lesuisse
3fe0d08772
[FIX] some catgories and complexity
...
bzr revid: al@openerp.com-20111004231832-8hx5233nm031nuhs
2011-10-05 01:18:32 +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
Antony Lesuisse
69b916b144
[MERGE] fetchmail local mta option by stw
...
bzr revid: al@openerp.com-20111004222640-ako0cjw414c5lz72
2011-10-05 00:26:40 +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