lp:~credativ/ocb-server/7.0-lp1210177
- Get this branch:
- bzr branch lp:~credativ/ocb-server/7.0-lp1210177
Branch merges
- Alexandre Fayolle - camptocamp: Approve
- Holger Brunn (Therp): Approve (code review)
-
Diff: 23 lines (+7/-2)1 file modifiedopenerp/osv/orm.py (+7/-2)
Related bugs
Related blueprints
Branch information
Recent revisions
- 5169. By Martin Trigaux (OpenERP)
-
[MERGE] [BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
- 5168. By Martin Trigaux (OpenERP)
-
[FIX] fields: execute name_get for function field of type many2one as SUPERUSER_ID (same behaviour as classical many2one)
- 5166. By Martin Trigaux (OpenERP)
-
[FIX] orm: when duplicating translated object, get more coherent source and destination values if default value is specified
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.
The copy_data method does not modify context to get untranslatated values, done fully in copy_translation
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ocb-server