lp://staging/~bitglue/openobject-server/fix-dh_installchangelogs
- Get this branch:
- bzr branch lp://staging/~bitglue/openobject-server/fix-dh_installchangelogs
Branch merges
- OpenERP Core Team: Pending requested
-
Diff: 9 lines (+2/-0)1 file modifieddebian/rules (+2/-0)
- OpenERP Core Team: Pending requested
-
Diff: 9 lines (+2/-0)1 file modifieddebian/rules (+2/-0)
Branch information
Recent revisions
- 3730. By Phil Frost <pfrost@openerpdev>
-
instruct dh_installchang
elogs to ignore debian/history: it's expecting it to be
a changelog when in fact it's a directory, then it chokes. - 3728. By Antony Lesuisse (OpenERP)
-
[FIX] debian packaging only happens if you used previous openerp packages
- 3725. By Vo Minh Thu
-
[FIX] fields.reference: post-process reference fields to test if the referenced record exists.
- 3724. By Xavier (Open ERP)
-
[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. - 3723. By Olivier Dony (Odoo)
-
[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*
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/openobject-server