lp://staging/~extra-addons-commiter/+junk/POC-multi-localization
This is a POC for solving multi company / localization issue.
Indeed when we are using multi company with multi localisation. Each localization can change the view and also override the orignal python method.
This module is a POC that give the posibility to exclude a module for a specifique company. And so if a localization is exclude for the company A and allowed for the company B. The company A will use OpenERP as if the localization was not installed.
For that 3 helper are provide by this module:
- automatically exclude all of the view of a module
- automatically exclude all of the menu of a module
- extend the class Model in order to add a check method on each object
You can try the POC by installing the two module 'fake localization', them configuring 2 company on your OpenERP and exluding the localisation 2 for the company 1, the localisation 1 for the company 2.
Test it and give your feed back. Thanks
NB : we should also add on option on the module (in the __openerp__.py) in order tell explicitly if the module can be disable
- Get this branch:
- bzr branch lp://staging/~extra-addons-commiter/+junk/POC-multi-localization
Branch information
- Owner:
- extra-addons-commiter
- Status:
- Experimental
Recent revisions
- 1. By Sébastien BEAU - http://www.akretion.com
-
[ADD] start a POC for solving multi localization / company issue
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)