Browse Source

[REF] import conventions & comments.

pull/4/head
Sylvain LE GAL 11 years ago
parent
commit
e29fead270
  1. 4
      web_easy_switch_company/__init__.py
  2. 20
      web_easy_switch_company/__openerp__.py
  3. 4
      web_easy_switch_company/model/__init__.py

4
web_easy_switch_company/__init__.py

@ -3,5 +3,5 @@
# See __openerp__.py file for Copyright and Licence Informations. # See __openerp__.py file for Copyright and Licence Informations.
################################################################################ ################################################################################
import model
import controllers
from . import model
from . import controllers

20
web_easy_switch_company/__openerp__.py

@ -11,32 +11,28 @@
Add menu to allow user to switch to another company more easily Add menu to allow user to switch to another company more easily
=============================================================== ===============================================================
Functionnalities :
------------------
Functionnality:
---------------
* Add a new menu in the top bar to switch to another company more easily; * Add a new menu in the top bar to switch to another company more easily;
* Remove the old behaviour to switch company; * Remove the old behaviour to switch company;
Documentations: Documentations:
----------------
---------------
* Video : http://www.youtube.com/watch?v=Cpm6dg-IEQQ * Video : http://www.youtube.com/watch?v=Cpm6dg-IEQQ
Technical informations: Technical informations:
------------------------
-----------------------
* Create a field function 'logo_topbar' in res_company to have a good resized logo; * Create a field function 'logo_topbar' in res_company to have a good resized logo;
Limits : Limits :
-------- --------
* It would be interesting to show the structure of the companies; * It would be interesting to show the structure of the companies;
Copyright and Licence :
-----------------------
* 2014, Groupement Régional Alimentaire de Proximité
Copyright, Author and Licence:
------------------------------
* Copyright: 2014, Groupement Régional Alimentaire de Proximité
* Author: Sylvain LE GAL (https://twitter.com/legalsylvain);
* Licence: AGPL-3 (http://www.gnu.org/licenses/) * Licence: AGPL-3 (http://www.gnu.org/licenses/)
Contacts :
----------
* Sylvain LE GAL (https://twitter.com/legalsylvain);
* <informatique@grap.coop> for any help or question about this module.
""", """,
'author': 'GRAP', 'author': 'GRAP',
'website': 'http://www.grap.coop', 'website': 'http://www.grap.coop',

4
web_easy_switch_company/model/__init__.py

@ -3,5 +3,5 @@
# See __openerp__.py file for Copyright and Licence Informations. # See __openerp__.py file for Copyright and Licence Informations.
################################################################################ ################################################################################
import res_users
import res_company
from . import res_users
from . import res_company
Loading…
Cancel
Save