lp:~therp-nl/ocb-server/7.0-lp1179839-many2many_attributes_in_client
- Get this branch:
- bzr branch lp:~therp-nl/ocb-server/7.0-lp1179839-many2many_attributes_in_client
Branch merges
- Stefan Rijnhart (Opener): Approve
-
Diff: 13 lines (+3/-0)1 file modifiedopenerp/osv/orm.py (+3/-0)
Related bugs
Bug #1179839: many2many trees don't resepect create, delete, edit attributes | Undecided | Fix Committed |
Related blueprints
Branch information
Recent revisions
- 5190. By Holger Brunn (Therp)
-
[FIX] Server side support for honoring edit/delete/create attributes on m2m in web
- 5188. By Samus CTO (OpenERP)
-
[FIX] Model.create: trigger stored field recalculation for implicit parent_id fields during create
The create() method implicitly creates parent records on objects of the _inherits.
Therefore, in order to make the trigger on the linked field works, we should
include all the _inherits values (fields that make the link to the parent
record) because they are created implicitly.
The write() method does not need this change, as any update of the parent
fields has to be explicit. - 5185. By Denis Ledoux (OpenERP)
-
[FIX]ir_
attachement: not self.pool. get(model) instead of model not in self.pool - 5184. By Denis Ledoux (OpenERP)
-
[FIX] ir_attachement: search, if the model of the ir_attachement has been removed, the search ignore the attachement.
- 5183. By Martin Trigaux (OpenERP)
-
[MERGE] [FIX] orm: Ignore orm (4, *) operations on one2many if link already exists.
Web client returns (4, ) operations for unchanged line in one2many widgets.
This allows to skip orm write on object where potentially has no access (eg: timesheet line with another user). (opw 599494) - 5182. By Martin Trigaux (OpenERP)
-
[IMP] orm: force checking ir.rules on read when accessing only to _classic_write fields (o2m, m2m, function)
More consistent behaviour. Was not able to access unauthorized data (retrieving data on x2m field would trigger security rules) but make sure it raises an exception instead of silently retrieve no data.
Move construct domain inside if clause as no needed before
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ocb-server