Hilar Ak
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
-
odoo-debrand/controllers/controllers.py
|
|
@ -23,11 +23,11 @@ db_monodb = http.db_monodb |
|
|
|
|
|
|
|
|
|
|
|
class BinaryCustom(Binary): |
|
|
|
@http.route([ |
|
|
|
'/web/binary/company_logo', |
|
|
|
'/logo', |
|
|
|
'/logo.png', |
|
|
|
], type='http', auth="none") |
|
|
|
@http.route([ |
|
|
|
'/web/binary/company_logo', |
|
|
|
'/logo', |
|
|
|
'/logo.png', |
|
|
|
], type='http', auth="none") |
|
|
|
def company_logo(self, dbname=None, **kw): |
|
|
|
imgname = 'logo' |
|
|
|
imgext = '.png' |
|
|
|