Browse Source
Merge pull request #67 from hilarak/10.0
10.0 [FIX] footer conflict
pull/78/head
Cybrosys Technologies
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
9 additions and
9 deletions
-
odoo-debrand/__manifest__.py
-
odoo-debrand/controllers/controllers.py
-
odoo-debrand/views/views.xml
|
|
@ -22,7 +22,7 @@ |
|
|
|
############################################################################## |
|
|
|
{ |
|
|
|
'name': "Odoo Debranding", |
|
|
|
'version': "10.0.2.0", |
|
|
|
'version': "10.0.3.0", |
|
|
|
'summary': """Debrand Odoo""", |
|
|
|
'description': """Debrand Odoo""", |
|
|
|
'author': "Cybrosys Techno Solutions", |
|
|
|
|
|
@ -23,12 +23,12 @@ db_monodb = http.db_monodb |
|
|
|
|
|
|
|
|
|
|
|
class BinaryCustom(Binary): |
|
|
|
@http.route([ |
|
|
|
'/web/binary/company_logo', |
|
|
|
'/logo', |
|
|
|
'/logo.png', |
|
|
|
], type='http', auth="none") |
|
|
|
def company_logo(self, dbname=None, **kw): |
|
|
|
@http.route([ |
|
|
|
'/web/binary/company_logo', |
|
|
|
'/logo', |
|
|
|
'/logo.png', |
|
|
|
], type='http', auth="none") |
|
|
|
def company_logo(self, dbname=None, **kw): |
|
|
|
imgname = 'logo' |
|
|
|
imgext = '.png' |
|
|
|
company_logo = request.env['website'].sudo().search([])[0].company_logo |
|
|
|
|
|
@ -82,7 +82,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<template id="layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright"> |
|
|
|
<xpath expr="//footer" position="inside"> |
|
|
|
<xpath expr="//div[@class='container mt16 mb8']" position="replace"> |
|
|
|
<div class="container mt16 mb8"> |
|
|
|
<div class="pull-right" t-if="not editable"> |
|
|
|
Powered by <a class="label label-danger" t-att-href="request.env['website'].sudo().search([])[0].company_website or ''"> |
|
|
@ -145,4 +145,4 @@ |
|
|
|
</div> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
</odoo> |
|
|
|
</odoo> |
|
|
|