Giter Site home page Giter Site logo

odoo_web_login's Introduction

Hello world, I'm Binh Nguyen!

Welcome to my world of innovation, where I turn complex ideas into game-changing solutions!

As an accomplished IT professional with a strong background in ERP and Accounting SaaS development, I've honed my skills over the course of a decade. During this time, I've gained invaluable expertise in strategic planning, budgeting, forecasting, people management, product development, project scope, and change management processes.

My true passion, however, lies in revolutionizing the financial industry. As the CEO and Head of Product at Angel Technology Investment JSC, I'm leading the development of a groundbreaking finance platform called TaxBook. Our mission is simple - to empower individuals, self-employed professionals, and small businesses to achieve financial prosperity by earning more, saving time, and being confident in their financial decisions.

At Angel Technology Investment JSC, we're committed to leveraging the latest AI-driven technologies to solve our customers' most pressing problems. By connecting them with expert service providers offering tax advisory, accounting, and other related services, we're changing the game for good.

Before embarking on this exciting journey, I founded Xao Xao Digital - an ERP provider company based in Ho Chi Minh City, Vietnam. Our focus was on developing automated systems that help businesses optimize costs, minimize risks, and streamline operations. During my tenure, I led over 100 successful projects, including collaborations with renowned brands like Thuocsi.vn (Buymed) and Lien Phat Corporation for Raffles Medical Vietnam.

Overall, I'm a dynamic leader with a keen eye for innovation and a passion for success. My exceptional leadership skills, deep understanding of the IT industry, and unwavering commitment to excellence make me an invaluable asset to any team.

If you want to be keep up to date on my adventures, follow me everywhere.

Twitter Follow Linkedin Follow

From Binh Nguyen Xuan

odoo_web_login's People

Contributors

xubiuit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoo_web_login's Issues

Installation error Odoo 11

Hi
I am experiencing this error when trying to install the module in Odoo 11:

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/odoo11/odoo11-server/odoo/models.py", line 967, in _validate_fields
    check(self)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 316, in _check_xml
    view_def = view.read_combined(['arch'])
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 700, in read_combined
    arch = self.apply_view_inheritance(arch_tree, root.id, self.model)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 649, in apply_view_inheritance
    source = self.apply_inheritance_specs(source, specs_tree, view_id)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 627, in apply_inheritance_specs
    self.raise_view_error(_("Element '%s' cannot be located in parent view") % tag, inherit_id)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 489, in raise_view_error
    raise ValueError(message)
ValueError: Element '<xpath expr="//t[@t-set='body_classname']">' cannot be located in parent view

Error context:
View `Login Layout Inherit`
[view_id: 1162, xml_id: n/a, model: n/a, parent_id: 159]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 741, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 719, in _tag_template
    return self._tag_record(record, data_node)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 651, in _tag_record
    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_model.py", line 1467, in _update
    record = record.create(values)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 384, in create
    return super(View, self).create(self._compute_defaults(values))
  File "/odoo11/odoo11-server/odoo/models.py", line 3285, in create
    self._fields[key].determine_inverse(record)
  File "/odoo11/odoo11-server/odoo/fields.py", line 1078, in determine_inverse
    getattr(records, self.inverse)()
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 253, in _inverse_arch
    view.write(data)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 400, in write
    return super(View, self).write(self._compute_defaults(vals))
  File "/odoo11/odoo11-server/odoo/models.py", line 3007, in write
    self._write(old_vals)
  File "/odoo11/odoo11-server/odoo/models.py", line 3160, in _write
    self._validate_fields(vals)
  File "/odoo11/odoo11-server/odoo/models.py", line 971, in _validate_fields
    raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e)))
odoo.exceptions.ValidationError: ('Error while validating constraint\n\nElement \'<xpath expr="//t[@t-set=\'body_classname\']">\' cannot be located in parent view\n\nError context:\nView `Login Layout Inherit`\n[view_id: 1162, xml_id: n/a, model: n/a, parent_id: 159]', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo11/odoo11-server/odoo/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo11/odoo11-server/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/odoo11/odoo11-server/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/odoo11/odoo11-server/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/odoo11/odoo11-server/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo11/odoo11-server/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo11/odoo11-server/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo11/odoo11-server/odoo/http.py", line 927, in __call__
    return self.method(*args, **kw)
  File "/odoo11/odoo11-server/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/odoo11/odoo11-server/addons/web/controllers/main.py", line 928, in call_button
    action = self._call_kw(model, method, args, {})
  File "/odoo11/odoo11-server/addons/web/controllers/main.py", line 916, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo11/odoo11-server/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/odoo11/odoo11-server/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-39>", line 2, in button_immediate_install
  File "/odoo11/odoo11-server/odoo/addons/base/module/module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
  File "/odoo11/odoo11-server/odoo/addons/base/module/module.py", line 446, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/odoo11/odoo11-server/odoo/addons/base/module/module.py", line 539, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/odoo11/odoo11-server/odoo/modules/registry.py", line 84, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/odoo11/odoo11-server/odoo/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/odoo11/odoo11-server/odoo/modules/loading.py", line 242, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/odoo11/odoo11-server/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/odoo11/odoo11-server/odoo/modules/loading.py", line 94, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 788, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 849, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 748, in parse
    exc_info[2]
  File "/odoo11/odoo11-server/odoo/tools/pycompat.py", line 86, in reraise
    raise value.with_traceback(tb)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 741, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 719, in _tag_template
    return self._tag_record(record, data_node)
  File "/odoo11/odoo11-server/odoo/tools/convert.py", line 651, in _tag_record
    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_model.py", line 1467, in _update
    record = record.create(values)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 384, in create
    return super(View, self).create(self._compute_defaults(values))
  File "/odoo11/odoo11-server/odoo/models.py", line 3285, in create
    self._fields[key].determine_inverse(record)
  File "/odoo11/odoo11-server/odoo/fields.py", line 1078, in determine_inverse
    getattr(records, self.inverse)()
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 253, in _inverse_arch
    view.write(data)
  File "/odoo11/odoo11-server/odoo/addons/base/ir/ir_ui_view.py", line 400, in write
    return super(View, self).write(self._compute_defaults(vals))
  File "/odoo11/odoo11-server/odoo/models.py", line 3007, in write
    self._write(old_vals)
  File "/odoo11/odoo11-server/odoo/models.py", line 3160, in _write
    self._validate_fields(vals)
  File "/odoo11/odoo11-server/odoo/models.py", line 971, in _validate_fields
    raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e)))
odoo.tools.convert.ParseError: "Error while validating constraint

Element '<xpath expr="//t[@t-set='body_classname']">' cannot be located in parent view

Error context:
View `Login Layout Inherit`
[view_id: 1162, xml_id: n/a, model: n/a, parent_id: 159]
None" while parsing None:10, near
<data inherit_id="web.login_layout" name="Login Layout Inherit">
   		<xpath expr="//t[@t-set='body_classname']" position="replace">
   			<t t-set="body_classname" t-value="''"/>
   		</xpath>
   		
   		<xpath expr="//div[@class='row']" position="attributes">
   			<attribute name="class">body_login</attribute>
   		</xpath>
   		
   		<xpath expr="//div[@class='col-md-6 col-md-offset-3 o_database_list']" position="before">
   			<div id="background-wrapper" t-attf-style="background-image: url('#{background_src}');"/>
   		</xpath>
   		
   		<xpath expr="//div[@class='col-md-6 col-md-offset-3 o_database_list']" position="attributes">
   			<attribute name="class">col-lg-3 col-md-4 col-sm-4 col-xs-11 o_database_list</attribute>
   		</xpath>
   		
   		<xpath expr="//div[@class='text-center']/img" position="attributes">
   			<attribute name="class">company_logo</attribute>
   		</xpath>
   	</data>

not compatible with version 10

Hello xubiuit,
I tried to install the module to my odoo that is running on version 10 but this error appears:
Please solve this issue, I admire your work and wish to implement it on my odoo..

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 638, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 675, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 331, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 119, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 324, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 504, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 882, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 870, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 681, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 672, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 410, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/module/module.py", line 484, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/usr/lib/python2.7/dist-packages/odoo/modules/registry.py", line 78, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 339, in load_modules
    loaded_modules, update_module)
  File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 237, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/usr/lib/python2.7/dist-packages/odoo/modules/loading.py", line 95, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 848, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 918, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 799, in parse
    self.parse(rec, mode)
  File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 802, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 780, in _tag_template
    return self._tag_record(record, data_node)
  File "/usr/lib/python2.7/dist-packages/odoo/tools/convert.py", line 710, in _tag_record
    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1191, in _update
    record = record.create(values)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_ui_view.py", line 360, in create
    return super(View, self).create(self._compute_defaults(values))
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3829, in create
    self._fields[key].determine_inverse(record)
  File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 999, in determine_inverse
    getattr(records, self.inverse)()
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_ui_view.py", line 220, in _inverse_arch
    view.write(data)
  File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_ui_view.py", line 378, in write
    return super(View, self).write(self._compute_defaults(vals))
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3555, in write
    self._write(old_vals)
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3706, in _write
    self._validate_fields(vals)
  File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 1074, in _validate_fields
    raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e)))
ParseError: "Error while validating constraint

Element '<xpath expr="//t[@t-set='head']/link[last()]">' cannot be located in parent view

Error context:
View `Login Layout Inherit`
[view_id: 991, xml_id: n/a, model: n/a, parent_id: 165]
None" while parsing None:4, near
<data inherit_id="web.login_layout" name="Login Layout Inherit">
    		<xpath expr="//t[@t-set='body_classname']" position="replace">
    			<t t-set="body_classname" t-value="''"/>
    		</xpath>
    		
    		<xpath expr="//t[@t-set='head']/link[last()]" position="inside">
    			<link rel="stylesheet" href="/odoo_web_login/static/src/css/web_login_style.css"/>
    		</xpath>
    		
    		<xpath expr="//div[@class='row']" position="attributes">
    			<attribute name="class">body_login</attribute>
    		</xpath>
    		
    		<xpath expr="//div[@class='col-md-6 col-md-offset-3 o_database_list']" position="before">
    			<div id="background-wrapper" t-attf-style="background-image: url('#{background_src}');"/>
    		</xpath>
    		
    		<xpath expr="//div[@class='col-md-6 col-md-offset-3 o_database_list']" position="attributes">
    			<attribute name="class">col-lg-3 col-md-4 col-sm-4 col-xs-11 o_database_list</attribute>
    		</xpath>
    		
    		<xpath expr="//div[@class='text-center']/img" position="attributes">
    			<attribute name="class">company_logo</attribute>
    		</xpath>
    	</data>

Issue BG

Impacted versions: 11 Enterprise

Steps to reproduce: Enter at odoo url and see blank Background.

Current behavior:

login:20 GET https://192.168.2.17/web/content/12530-e8b4fe4/web.assets_common.0.css net::ERR_ABORTED 403 (FORBIDDEN)
login:21 GET https://192.168.2.17/web/content/14631-b77330e/web.assets_frontend.0.css net::ERR_ABORTED 403 (FORBIDDEN)
2login:23 GET https://192.168.2.17/web/content/14632-b77330e/web.assets_frontend.js net::ERR_ABORTED 403 (FORBIDDEN)
web.assets_common.js:3776 warning: Some modules could not be started
web.assets_common.js:3776 Missing dependencies: ["web.session"]
web.assets_common.js:3780 Non loaded modules: (9) ["web.AjaxService", "web_editor.base", "web_editor.ready", "web_editor.ace", "web.planner.common", "web_tour.TourManager", "web_tour.tour", "project_timesheet_synchro.test_screen_navigation", "account_reports.tour"]

Expected behavior:

Web login Background

odoo_login_error
odoo_login_error_sources

Login Button

Odoo version 11
Website sign up login page "Already have an account?" and Sign up alignment issue show in next page
screenshot from 2018-07-27 18-53-35
Website login page Login and Don't have an account? slightly overlap issue.

No Background on Sign-Up

Hi, I am not sure if this is an issue or a feature not implemented.
First off, great job on this module it looks really great.
The login page works great however when a user clicks sign up the background goes white.

Is this an issue or was it not part of the feature? If not how would it be possible to integrate this?

Can't access the login screen [locked-out]

After updating, now I can't access the login screen, so It's not possible to log in into the instance. We're getting an error from this line:

request.params['title'] = root_user.company_id and root_user.company_id.name or 'xubi.me'

This is the log:

2017-03-18 12:21:09,794 958 ERROR demo werkzeug: Error on request:
Traceback (most recent call last):
  File "/odoo/venv/lib/python2.7/site-packages/werkzeug/serving.py", line 193, in run_wsgi
    execute(self.server.app)
  File "/odoo/venv/lib/python2.7/site-packages/werkzeug/serving.py", line 181, in execute
    application_iter = app(environ, start_response)
  File "/odoo/odoo-server/src/odoo/odoo/service/wsgi_server.py", line 182, in application
    return werkzeug.contrib.fixers.ProxyFix(application_unproxied)(environ, start_response)
  File "/odoo/venv/lib/python2.7/site-packages/werkzeug/contrib/fixers.py", line 152, in __call__
    return self.app(environ, start_response)
  File "/odoo/odoo-server/src/odoo/odoo/service/wsgi_server.py", line 170, in application_unproxied
    result = handler(environ, start_response)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 1306, in __call__
    return self.dispatch(environ, start_response)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 1280, in __call__
    return self.app(environ, start_wrapped)
  File "/odoo/venv/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
    return self.app(environ, start_response)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 1471, in dispatch
    result = ir_http._dispatch()
  File "/odoo/odoo-server/src/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
    return super(IrHttp, cls)._dispatch()
  File "/odoo/odoo-server/src/odoo/addons/utm/models/ir_http.py", line 20, in _dispatch
    response = super(IrHttp, cls)._dispatch()
  File "/odoo/odoo-server/src/odoo/odoo/addons/base/ir/ir_http.py", line 199, in _dispatch
    return cls._handle_exception(e)
  File "/odoo/odoo-server/src/odoo/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception
    return request._handle_exception(exception)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 766, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/src/odoo/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 825, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 331, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/src/odoo/odoo/service/model.py", line 119, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 324, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/src/odoo/odoo/http.py", line 504, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/src/custom/odoo_web_login/odoo_web_login/controllers/main.py", line 50, in web_login
    request.params['title'] = root_user.company_id and root_user.company_id.name or 'xubi.me'
  File "/odoo/odoo-server/src/odoo/odoo/fields.py", line 869, in __get__
    self.determine_value(record)
  File "/odoo/odoo-server/src/odoo/odoo/fields.py", line 971, in determine_value
    record._prefetch_field(self)
  File "/odoo/odoo-server/src/odoo/odoo/models.py", line 3064, in _prefetch_field
    result = self.read([f.name for f in fs], load='_classic_write')
  File "/odoo/odoo-server/src/odoo/odoo/addons/base/res/res_users.py", line 856, in read
    res = super(UsersView, self).read(other_fields, load=load)
  File "/odoo/odoo-server/src/odoo/odoo/addons/base/res/res_users.py", line 297, in read
    result = super(Users, self).read(fields=fields, load=load)
  File "/odoo/odoo-server/src/odoo/odoo/models.py", line 3012, in read
    values[name] = field.convert_to_read(record[name], record, use_name_get)
  File "/odoo/odoo-server/src/odoo/odoo/models.py", line 5191, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/odoo/odoo-server/src/odoo/odoo/fields.py", line 865, in __get__
    value = record._cache[self]
  File "/odoo/odoo-server/src/odoo/odoo/models.py", line 5540, in __getitem__
    return value.get() if isinstance(value, SpecialValue) else value
  File "/odoo/odoo-server/src/odoo/odoo/fields.py", line 48, in get
    raise self.exception
AccessError: (u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: res.users, Operation: read)', None)

Divergence with the time zone

Hi!
I noticed something about the module's spindle configuration, and I'd like some help to understand and solve.

My spindle is "-4", and so it is configured in the parameters. The schedule on my server is also properly configured. However the exchange of images is not being done according to the defined time zone.

Can you help me?

Odoo 12 External ID not found in the system

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/localhost/Desktop/dev/odoo/odoo/tools/convert.py", line 269, in _tag_delete
records = records.search(safe_eval(d_search, idref))
File "/home/localhost/Desktop/dev/odoo/odoo/tools/convert.py", line 27, in
safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
File "/home/localhost/Desktop/dev/odoo/odoo/tools/safe_eval.py", line 373, in safe_eval
pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2])
File "/home/localhost/Desktop/dev/odoo/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/home/localhost/Desktop/dev/odoo/odoo/tools/safe_eval.py", line 350, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in
File "/home/localhost/Desktop/dev/odoo/odoo/tools/convert.py", line 731, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/home/localhost/Desktop/dev/odoo/odoo/tools/convert.py", line 737, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/home/localhost/Desktop/dev/odoo/odoo/addons/base/models/ir_model.py", line 1361, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/home/localhost/Desktop/dev/odoo/odoo/tools/cache.py", line 93, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/localhost/Desktop/dev/odoo/odoo/addons/base/models/ir_model.py", line 1350, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: <class 'ValueError'>: "External ID not found in the system: website.login_layout" while evaluating
"[('id','=', ref('website.login_layout'))]"

Odoo 12.0-20181012 (Community Edition)

ERROR to INSTALL WEB_LOGIN

Hello, I just install a new ODOO 11 (UBUNTU 16 CLOUD SERVER).

Installed basis Odoo app (CRM, LEAVES, CONTACTS,...) and download WEB_LOGIN, add it to ADDONS.

Then by COMANDS:
Service odoo-server stop
service postgresql restart
service odoo-server start

and go to ODDO APPs > UPLOAD new APP> Choose WEB_LOGIN >INSTALL and this error:

Error:
Odoo Server Error

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/models.py", line 1023, in _validate_fields
check(self)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 330, in check_xml
view_def = view.read_combined(['arch'])
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 714, in read_combined
arch = self.apply_view_inheritance(arch_tree, root.id, self.model)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 663, in apply_view_inheritance
source = self.apply_inheritance_specs(source, specs_tree, view_id)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 641, in apply_inheritance_specs
self.raise_view_error(
("Element '%s' cannot be located in parent view") % tag, inherit_id)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 503, in raise_view_error
raise ValueError(message)
ValueError: El elemento '' no puede ser localizado en la vista padre

Contexto del error:
Vista Login Layout Inherit
[view_id: 1146, xml_id: n/a, model: n/a, parent_id: 160]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/tools/convert.py", line 741, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 719, in _tag_template
return self._tag_record(record, data_node)
File "/odoo/odoo-server/odoo/tools/convert.py", line 651, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1469, in _update
record = record.create(values)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 398, in create
return super(View, self).create(self._compute_defaults(values))
File "/odoo/odoo-server/odoo/models.py", line 3356, in create
self._fields[key].determine_inverse(record)
File "/odoo/odoo-server/odoo/fields.py", line 1070, in determine_inverse
getattr(records, self.inverse)()
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 266, in _inverse_arch
view.write(data)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 414, in write
return super(View, self).write(self._compute_defaults(vals))
File "/odoo/odoo-server/odoo/models.py", line 3065, in write
self._write(old_vals)
File "/odoo/odoo-server/odoo/models.py", line 3231, in _write
self._validate_fields(vals)
File "/odoo/odoo-server/odoo/models.py", line 1027, in validate_fields
raise ValidationError("%s\n\n%s" % (
("Error while validating constraint"), tools.ustr(e)))
odoo.exceptions.ValidationError: ('Error mientras se validaban las restricciones\n\nEl elemento '' no puede ser localizado en la vista padre\n\nContexto del error:\nVista Login Layout Inherit\n[view_id: 1146, xml_id: n/a, model: n/a, parent_id: 160]', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/odoo/odoo-server/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 934, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo/odoo-server/addons/web/controllers/main.py", line 922, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 448, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odoo/odoo-server/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odoo/odoo-server/odoo/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/odoo/odoo-server/odoo/modules/loading.py", line 242, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/odoo/odoo-server/odoo/modules/loading.py", line 156, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/odoo/odoo-server/odoo/modules/loading.py", line 94, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/odoo/odoo-server/odoo/tools/convert.py", line 788, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/odoo/odoo-server/odoo/tools/convert.py", line 849, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 748, in parse
exc_info[2]
File "/odoo/odoo-server/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/odoo/odoo-server/odoo/tools/convert.py", line 741, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/odoo/odoo-server/odoo/tools/convert.py", line 719, in _tag_template
return self._tag_record(record, data_node)
File "/odoo/odoo-server/odoo/tools/convert.py", line 651, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1469, in _update
record = record.create(values)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 398, in create
return super(View, self).create(self._compute_defaults(values))
File "/odoo/odoo-server/odoo/models.py", line 3356, in create
self._fields[key].determine_inverse(record)
File "/odoo/odoo-server/odoo/fields.py", line 1070, in determine_inverse
getattr(records, self.inverse)()
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 266, in _inverse_arch
view.write(data)
File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 414, in write
return super(View, self).write(self._compute_defaults(vals))
File "/odoo/odoo-server/odoo/models.py", line 3065, in write
self._write(old_vals)
File "/odoo/odoo-server/odoo/models.py", line 3231, in _write
self._validate_fields(vals)
File "/odoo/odoo-server/odoo/models.py", line 1027, in validate_fields
raise ValidationError("%s\n\n%s" % (
("Error while validating constraint"), tools.ustr(e)))
odoo.tools.convert.ParseError: "Error mientras se validaban las restricciones

El elemento '' no puede ser localizado en la vista padre

Contexto del error:
Vista Login Layout Inherit
[view_id: 1146, xml_id: n/a, model: n/a, parent_id: 160]
None" while parsing None:10, near



	<xpath expr="//div[hasclass('row')]" position="attributes">
		<attribute name="class">body_login</attribute>
	</xpath>
	
	<xpath expr="//div[hasclass('o_database_list')]" position="before">
		<div id="background-wrapper" t-attf-style="background-image: url('#{background_src}');"/>
	</xpath>
	
	<xpath expr="//div[hasclass('o_database_list')]" position="attributes">
		<attribute name="class">col-lg-3 col-md-4 col-sm-4 col-xs-11 o_database_list</attribute>
	</xpath>
	
	<xpath expr="//div[hasclass('text-center')]/img" position="attributes">
		<attribute name="class">company_logo</attribute>
	</xpath>
</data>

Could you help me, please?
Many thanks

[11.0] Erro install Skipping deletion for failed search `"[('id','=', ref('website.login_layout'))]"`

2018-12-06 12:06:16,998 18289 WARNING vadinho odoo.tools.convert: Skipping deletion for failed search "[('id','=', ref('website.login_layout'))]"
Traceback (most recent call last):
File "/opt/odoo/vadinho/core/odoo/modules/registry.py", line 59, in new
return cls.registries[db_name]
File "/opt/odoo/vadinho/core/odoo/tools/func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/vadinho/core/odoo/tools/lru.py", line 44, in getitem
a = self.d[obj].me
KeyError: 'vadinho'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/vadinho/core/odoo/tools/cache.py", line 84, in lookup
r = d[key]
File "/opt/odoo/vadinho/core/odoo/tools/func.py", line 68, in wrapper
return func(self, *args, **kwargs)
File "/opt/odoo/vadinho/core/odoo/tools/lru.py", line 44, in getitem
a = self.d[obj].me
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7ff4b025f730>, 'website.login_layout')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/vadinho/core/odoo/tools/safe_eval.py", line 350, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in
File "/opt/odoo/vadinho/core/odoo/tools/convert.py", line 727, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/opt/odoo/vadinho/core/odoo/tools/convert.py", line 733, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/vadinho/core/odoo/addons/base/ir/ir_model.py", line 1335, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/opt/odoo/vadinho/core/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/vadinho/core/odoo/addons/base/ir/ir_model.py", line 1324, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: website.login_layout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/odoo/vadinho/core/odoo/tools/convert.py", line 265, in _tag_delete
records = records.search(safe_eval(d_search, idref))
File "/opt/odoo/vadinho/core/odoo/tools/convert.py", line 28, in
safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
File "/opt/odoo/vadinho/core/odoo/tools/safe_eval.py", line 373, in safe_eval
pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2])
File "/opt/odoo/vadinho/core/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/opt/odoo/vadinho/core/odoo/tools/safe_eval.py", line 350, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in
File "/opt/odoo/vadinho/core/odoo/tools/convert.py", line 727, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/opt/odoo/vadinho/core/odoo/tools/convert.py", line 733, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/opt/odoo/vadinho/core/odoo/addons/base/ir/ir_model.py", line 1335, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "", line 2, in xmlid_lookup
File "/opt/odoo/vadinho/core/odoo/tools/cache.py", line 89, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/opt/odoo/vadinho/core/odoo/addons/base/ir/ir_model.py", line 1324, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: <class 'ValueError'>: "External ID not found in the system: website.login_layout" while evaluating
"[('id','=', ref('website.login_layout'))]"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.