lp://staging/~bitglue/openobject-server/fix-dh_installchangelogs

Created by Phil Frost and last modified
Get this branch:
bzr branch lp://staging/~bitglue/openobject-server/fix-dh_installchangelogs
Only Phil Frost can upload to this branch. If you are Phil Frost please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Phil Frost
Project:
Odoo Server (MOVED TO GITHUB)
Status:
Development

Recent revisions

3730. By Phil Frost <pfrost@openerpdev>

instruct dh_installchangelogs to ignore debian/history: it's expecting it to be
a changelog when in fact it's a directory, then it chokes.

3729. By Antony Lesuisse (OpenERP)

[IMP] README cleanups

3728. By Antony Lesuisse (OpenERP)

[FIX] debian packaging only happens if you used previous openerp packages

3727. By Antony Lesuisse (OpenERP)

[MERGE] base_setup dynamic category defintions

3726. By Vo Minh Thu

[FIX] two loops one loop (a previous commit) was wrongly done :(.

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*

3722. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

3721. By Antony Lesuisse (OpenERP)

[FIX] debian logfile name

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
This branch contains Public information 
Everyone can see this information.

Subscribers