Merge pull request #1625 from odoo-dev/master-views-arch-on-disk-fme
authorFabien Meghazi <agr@amigrave.com>
Wed, 6 Aug 2014 13:24:04 +0000 (15:24 +0200)
committerFabien Meghazi <agr@amigrave.com>
Wed, 6 Aug 2014 13:24:04 +0000 (15:24 +0200)
commitd71a21bfdb25b6db942d82830788cc165db7c844
tree73b0f681b87f9249c5a152a350172d84f63e3ac9
parent2bf6193a4460695f23f2134916372ff6db335ba7
parent053ca7c49c44860ea8624a2f3cfd53cb06b7d49c
Merge pull request #1625 from odoo-dev/master-views-arch-on-disk-fme

[MERGE] Read ir.ui.view's arch from disk in development mode

A new switch named `--dev` has been added to the openerp.cli's arguments.

This development mode's purpose is to activate some specific behaviours in order to ease development.

For the moment, the only effect of `--dev` is to make the ir.ui.view's arch function field read the data from the original xml file (if any), allowing the developer to change a view and check the effect without having to update it's database.

This feature will currently work only with existing views. If you add a view you still have to update your database.
openerp/tools/config.py