New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⬆️1️⃣2️⃣ web_debranding #633
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
# flake8:noqa | ||
|
||
from . import ir_attachment | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import logging | ||
import base64 | ||
from odoo import models, api | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import base64 | ||
|
||
from openerp.tests.common import TransactionCase | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
def post_load(): | ||
from . import http |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import logging | ||
|
||
import odoo | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import models |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
{ | ||
'name': "Force move attachments to DB storage", | ||
'version': '1.0.0', | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import models | ||
from . import controllers | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
{ | ||
'name': "Backend debranding", | ||
'version': '11.0.1.0.23', | ||
"summary": """Removes references to odoo""", | ||
'version': '12.0.1.0.24', | ||
'author': 'IT-Projects LLC, Ivan Yelizariev', | ||
'license': 'LGPL-3', | ||
'category': 'Debranding', | ||
|
@@ -12,23 +12,20 @@ | |
'depends': [ | ||
'web', | ||
'mail', | ||
'web_planner', | ||
'access_apps', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do you remove access_apps? If it's temporarily, you must comment it out instead There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I deleted access_app because the access_settings_menu's dependencies contain access_apps. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
||
'access_settings_menu', | ||
], | ||
'data': [ | ||
'security/web_debranding_security.xml', | ||
'security/ir.model.access.csv', | ||
'data.xml', | ||
'views.xml', | ||
'js.xml', | ||
'pre_install.yml', | ||
'pre_install.xml', | ||
], | ||
'qweb': [ | ||
'static/src/xml/web.xml', | ||
], | ||
"post_load": 'post_load', | ||
'auto_install': False, | ||
'uninstall_hook': 'uninstall_hook', | ||
'installable': False | ||
'installable': True | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import main |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import odoo | ||
from odoo import http | ||
from odoo.addons.web.controllers.main import Binary | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="default_logo_module" model="ir.config_parameter"> | ||
<field name="key">web_debranding.default_logo_module</field> | ||
<field name="value">web_debranding</field> | ||
</record> | ||
<record id="base.main_partner" model="res.partner"> | ||
<field name="image"></field> | ||
</record> | ||
|
||
|
||
</data> | ||
</odoo> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
from odoo.fields import _String | ||
|
||
from .models.ir_translation import debrand | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import ir_actions | ||
from . import ir_translation | ||
from . import publisher_warranty_contract | ||
from . import ir_config_parameter | ||
from . import web_planner | ||
from . import ir_ui_view | ||
from . import mail_message |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
from odoo import models | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import logging | ||
from odoo import models, api | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import logging | ||
from odoo import models, api | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
import logging | ||
|
||
from odoo import models, api | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<function model="ir.config_parameter" name="create_debranding_parameters" /> | ||
<function model="ir.translation" name="decorated_clear_caches" /> | ||
<function model="ir.ui.view" name="_create_debranding_views" /> | ||
</odoo> |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to find example, that doesn't require installation of extra modules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All examples in depended modules are replaced/hided via other ways in this module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok