summaryrefslogtreecommitdiff
path: root/addons/base_import_module/controllers/main.py
AgeCommit message (Collapse)Author
2017-04-11[#8530] convert exception handlers to except..as syntaxXavier Morel
Futurize fixers: * lib2to3.fixes.fix_except
2016-07-13[MIG] base_import_module: Migrated to new APIMohammed Shekha
2016-01-12[FIX] base_import_module: CSRF handlingXavier Morel
* disabled CSRF protection for login route * return CSRF token from login and retransmit it during module upload ``deploy`` only sends CSRF token if given one by authenticate so that the command can be used for non-updated modules. Closes #9488
2015-08-20[ADD] convenience res_users._is_adminXavier Morel
Checks that the provided user (or user in the provided dataset): * is the superadmin * or is a member of group_erp_manager There are a number of hand-rolled "is_admin" checks in the codebase some of which are fairly gnarly. The shortcut provides a single point of contact, avoids forgetting about cases (e.g. SUPERUSER_ID) and is relatively convenient when checking a user which is not the "current" user. closes #8146
2014-06-11Added --force to odoo deployFabien Meghazi
Will force --init mode even if module is already installed
2014-05-22[IMP] improved code to show import result in wizard and improved typotpa-odoo
2014-05-22[ADD] add wizard to import zipped moduletpa-odoo
2014-03-26[FIX] /login is not webservice friendly, base_import_module uses it's ownFabien Meghazi
Exceptions in /base_import_module/* will generate 500 pages with a short message bzr revid: fme@openerp.com-20140326215709-esc4zkpfp8uzuww1
2014-03-26[IMP] Use requests for http requests. python does not provide multipart encodingFabien Meghazi
bzr revid: fme@openerp.com-20140326150842-h33yuiwsnrm8gmbk
2014-03-19[WIP] base_import_moduleFabien Meghazi
bzr revid: fme@openerp.com-20140319085343-zkee3rmqc9dzpa7h