summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/report/ir_module_reference_print.py
AgeCommit message (Collapse)Author
2017-11-27[MOV] base: move module_* report into report/Thibault Delavallée
2017-08-20[FIX] P3: remove pycompat.{keys,items,values} helpersOlivier Dony
Now that we're closer to switching to P3 for good, these helpers have outlived their usefulness, and mostly add noise. All remaining dict.iter*() or dict.view*() must be converted to the normal keys(), values() or items() calls. Whenever the result is likely to be used for more than the scope of a loop, or when the dict needs to be modified during iteration, the calls must be wrapped in a ``list()``, to protect the new P3 semantics. Those cases are very exceptional. Also removed some dead code or improved the API to remove unnecessary conversions.
2017-05-10[FIX] P3: list -> iterable builtins (#16811)xmo-odoo
In Python 3: * various builtins and dict methods were changed to return view/iterable objects rather than lists * and the separate Python 2 view/iterable builtins and methods were removed altogether This is problematic when using these items as list (which the happens repeatedly in Odoo), but more viciously when iterating *multiple times* over them (which also happens, which I've messed up multiple times while writing this, and which is a pain to debug even when you've just created the issue). Convert all code using these to semantics-matching cross-version helper functions to get the LCD behaviour between P2 and P3, and forbid the builtins via lint. issue #8530
2017-05-08[REF] report: remove the report moduleLaurent Smet
The content of the report module is now dispatched in the 'base' and the 'web' modules.
2017-01-23[MERGE] forward port branch 10.0 up to 6804085b8ceChristophe Simonis
2017-01-17[FIX] base: access rights of `ir.model` and `ir.model.fields`Raphael Collet
This partially reverts commits 5d746d0ac663232d656bb57e82fec290bb5d82fd and 73de86c7682a1433da7a755c3092dcb38fba3fd8. The tightening of access rights was too strong: regular users need to be able to read models and fields (to create an email templace, for instance.) [FIX] ir_values: in `get_actions`, exclude field `code`
2017-01-13[FIX] base: correct typo in `_fields_find`, res_ids -> res_idDenis Ledoux
The issue is introduced by revision d465346f1ee4d2399576f03fd5644f74191fc14b Raphaël actually meant `res_ids = data.mapped('res_id')` Indeed, there is no `res_ids` field on `ir.model.data`, but there is a `res_id`. In addition, the same code is written correctly in the method just above this one, `_object_find` opw-704592
2017-01-03[IMP] base: tighten `ir.model.data` access rightsRaphael Collet
2017-01-03[IMP] base: tighten `ir.model.fields` access rightsRaphael Collet
2016-09-02[REF] openerp: move `openerp` to `odoo`Raphael Collet