itpp-labs / website-addons Goto Github PK
View Code? Open in Web Editor NEWOdoo Website Addons
Home Page: https://itpp.dev
Odoo Website Addons
Home Page: https://itpp.dev
With a help of this module https://github.com/OCA/website/tree/9.0/website_sale_order_company
we can use multi company mode in commerce.
For this reason we need to update website_sale_autopay. We need to have journal per each company and each payment type. Currently we have only journal per payment type.
Instead of field journal_id in payment.acquirer
model, we can add payment_acquirer_id field to account.journal
Portal Users get a 403 when trying to checkout shop/checkout?buyMethod=nobill_noship in odoo 10 version. Please fix urgently as we actually bought the module and it is useless at the moment!
By step after configuration is complete, when I open odoo.Locat/page/start and enter any letters, click Try now, prompted the following error.
Error:'res.users' object has no attribute 'plan_id'
Hi Ivan
We installed a custom theme and it has already done some debranding (concerning Odoo) but not all. Unfortunately the website_debranding stops with an error when the xpath expr. can't be located.
Probably it would be a good idea to put this in an "if xpath expr" exists -> then get rid of it etc.
Otherwise website_debranding can only be used on sites with the default or probably with Templates made by Odoo S.A. but not with those from other companies even they get sold on Odoo S.A. website or elsewhere or are freely available on git.
Version 10 and we tested with website_debranding 10.0.1.0.0
.. server/Software/models.py", line 1083, in _validate_fields
raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e)))
ParseError: "Error while validating constraint
Element '<xpath expr="//div[@t-ignore='true']">' cannot be located in parent view
Error context:
View `layout_footer_copyright`
[view_id: 2559, xml_id: n/a, model: n/a, parent_id: 625]
None" while parsing None:4, near
<data inherit_id="website.layout_footer_copyright">
<xpath expr="//div[@t-ignore='true']" position="replace">
</xpath>
</data>
Thanks Andi
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
When the page is reloaded, the subcategories collapse. However, sometimes certain subcategories never collapse.
because when i apply it on odoo 9 server it charges me over 250$? or am i mistaken?
<template id="brand_promotion" name="Brand Promotion">
<div class="o_brand_promotion">
Create a <a target="_blank" href="http://www.odoo.com/page/website-builder?utm_source=db&utm_medium=website">free website</a> with
<a target="_blank" class="badge badge-danger" href="http://www.odoo.com/page/website-builder?utm_source=db&utm_medium=website">Odoo</a>
</div>
</template>
Should be updated to
<template id="brand_promotion" customize_show="True">
And additionally via noupdate="1"
set active="False"
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
As soon as we install website_sale_search_clear we receive a 500 error
It brokes tests for other modules (e.g. event related).
Currently it excludes only delivery lines
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
if i install website_files on odoo 8.0 ab00527f0776e26f82182547e0065fa22cd4d7cb the pager of the image tab in the modal box is no longer working:
If you press on "Next" Button for next page of pictures nothing happens and the button greys out.
The "State / Province" is always present after installing the website_sale_checkout_store module. Prior of installing the module, there's a condition whether to show in the QWeb or not, which no longer in the template.
I'm not sure if it's bug or intentional, but is there any way/control for deactivating it from the form?
Odoo 9
I Installed this addon and when you click on process checkout I get 500: Internal Server Error
Error Message:
'sale.order.line' object has no attribute 'is_delivery'
Traceback
Traceback (most recent call last):
File "/opt/odoo/addons/website/models/ir_http.py", line 242, in _handle_exception
response = super(ir_http, self)._handle_exception(exception)
File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 158, in _handle_exception
return request._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 786, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 183, in _dispatch
result = request.dispatch()
File "/opt/odoo/openerp/http.py", line 845, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo/openerp/http.py", line 321, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/openerp/http.py", line 314, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/openerp/http.py", line 964, in __call__
return self.method(*args, **kw)
File "/opt/odoo/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/website_sale/controllers/main.py", line 658, in checkout
redirection = self.checkout_redirection(order)
File "/opt/odoo/customaddons/website_sale_available/controllers/website_sale_available.py", line 19, in checkout_redirection
for line in order.order_line if not line.is_delivery
AttributeError: 'sale.order.line' object has no attribute 'is_delivery'
oca_dependencies.txt on v8.0 call for python-chess, with no version. But the latest version of python-chess will not install on python2. This is the pip output:
ImportError: You are installing python-chess on Python 2.
Python 2 support has been dropped. Consider upgrading to Python 3, or using
the 0.23.x branch, which will be maintained until the end of 2018.
I am doing a PR to fix this.
ParseError: "update or delete on table "ir_ui_view" violates foreign key constraint "ir_ui_view_inherit_id_fkey" on table "ir_ui_view"
DETAIL: Key (id)=(277) is still referenced from table "ir_ui_view".
" while parsing ----/website_debranding/views.xml:91, near
Hi,
When I try to add a lot for more than one product after pressing the "Put in cart button" the browser displays a modal windows with the following information:
Odoo Warning - Warning
You have a difference between the quantity on the operation and the quantities specified for the lots.
The steps followed where: scan 2 products with the barcode scanner, add an existent lot to the line and click the "Put in cart button"
As far as we know, the system does not assign the lot to the quantity put on the screen, it assigns it only to one unit. e.g. if the scanned quantity to receive is 5 and I create a lot, when I press create lot, it assigns this lot only to one unit not to the 5 units scanned.
If there are more than one lot, the problem is the same, I scan 2 units and create lot 1, and I scan 3 more units and create lot 2. As a result lot1 is assigned to one unit and lot 2 is assigned to 1 unit. Then the system does not allow to put in cart.
You can see the lot in the following image:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Hi,
I tried website_sale_auto_confirm_order and it works well, thanks!
One issue I have: the customer receives a confirmation email for the quote, not the sale order.
This is probably the case because the email is sent before the quote has been confirmed.
Is there any way to change this?
Thanks,
Markus
git clone https://github.com/Vauxoo/server-tools.git -b 8.0
git clone https://github.com/Vauxoo/addons-vauxoo.git -b 8.0
git clone https://github.com/vauxoo/crm.git -b 8.0
git clone https://github.com/vauxoo/rma.git -b 8.0
git clone https://github.com/yelizariev/website-addons -b 8.0
./odoo-8.0/openerp-server -d openerp_test --addons-path /home/travis/build/Vauxoo/addons-yelizariev,/home/travis/server-tools,/home/travis/addons-vauxoo,/home/travis/crm,/home/travis/rma,/home/travis/odoo-8.0/addons,/home/travis/odoo-8.0/openerp/addons --test-enable --init crm_claim_summary_report,web_debranding,report
2015-11-03 22:16:25,632 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ERROR
2015-11-03 22:16:25,633 23075 INFO openerp_test openerp.addons.report.tests.test_reports: ======================================================================
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ERROR: test_reports (openerp.addons.report.tests.test_reports.TestReports)
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: Traceback (most recent call last):
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/addons/report/tests/test_reports.py", line 52, in test_reports
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` registry('report').get_html(cr, uid, report_model_ids, r.report_name)
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/addons/report/models/report.py", line 176, in get_html
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.render(cr, uid, [], report.report_name, docargs, context=context)
2015-11-03 22:16:25,633 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/addons/report/models/report.py", line 152, in render
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return view_obj.render(cr, uid, template, values, context=context)
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_ui_view.py", line 1026, in render
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 262, in render
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
2015-11-03 22:16:25,634 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 299, in render_node
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 423, in render_tag_foreach
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` ru.append(self.render_element(element, template_attributes, generated_attributes, copy_qwebcontext))
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 299, in render_node
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 368, in render_tag_raw
2015-11-03 22:16:25,635 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` inner = self.eval_str(template_attributes["raw"], qwebcontext)
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 214, in eval_str
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` val = self.eval(expr, qwebcontext)
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 206, in eval
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 203, in eval
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return qwebcontext.safe_eval(expr)
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 89, in safe_eval
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/tools/safe_eval.py", line 314, in safe_eval
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return eval(c, globals_dict, locals_dict)
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "", line 1, in <module>
2015-11-03 22:16:25,636 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/addons/report/models/report.py", line 135, in translate_doc
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.translate_doc(cr, uid, doc_id, model, lang_field, template, values, context=context)
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/addons/report/models/report.py", line 115, in translate_doc
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.pool['ir.ui.view'].render(cr, uid, template, qcontext, context=ctx)
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_ui_view.py", line 1026, in render
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,637 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 262, in render
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 299, in render_node
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 423, in render_tag_foreach
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` ru.append(self.render_element(element, template_attributes, generated_attributes, copy_qwebcontext))
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,638 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 299, in render_node
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 446, in render_tag_call
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.render(cr, uid, template, d)
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return old_api(self, *args, **kwargs)
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 262, in render
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
2015-11-03 22:16:25,639 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 301, in render_node
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 322, in render_element
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` g_inner.append(self.render_node(current_node, qwebcontext))
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 299, in render_node
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 465, in render_tag_set
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` qwebcontext[template_attributes["set"]] = self.eval_object(template_attributes["value"], qwebcontext)
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 209, in eval_object
2015-11-03 22:16:25,640 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.eval(expr, qwebcontext)
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 206, in eval
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 203, in eval
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return qwebcontext.safe_eval(expr)
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 89, in safe_eval
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/odoo-8.0/openerp/tools/safe_eval.py", line 314, in safe_eval
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return eval(c, globals_dict, locals_dict)
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "", line 1, in <module>
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/werkzeug/local.py", line 338, in __getattr__
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return getattr(self._get_current_object(), name)
2015-11-03 22:16:25,641 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/werkzeug/local.py", line 297, in _get_current_object
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` return self.__local()
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/werkzeug/local.py", line 132, in _lookup
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` raise RuntimeError('object unbound')
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` openerp.addons.base.ir.ir_qweb.QWebException: ""object unbound" while evaluating
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` "request.env['ir.config_parameter'].get_param('web_debranding.favicon_url', '').strip()"" while evaluating
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: ` "translate_doc(doc_id, doc_model, 'partner_id.lang','crm_claim_summary_report.summary_report')"
2015-11-03 22:16:25,642 23075 INFO openerp_test openerp.addons.report.tests.test_reports: Ran 1 test in 0.256s
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.addons.report.tests.test_reports: FAILED
2015-11-03 22:16:25,642 23075 INFO openerp_test openerp.addons.report.tests.test_reports: (errors=1)
2015-11-03 22:16:25,642 23075 ERROR openerp_test openerp.modules.module: Module report: 0 failures, 1 errors
Here is the error when upgrading to the latest version of website_sale_checkout_store git pulled on 20160922
-------------- start -----------------------
2016-09-22 18:15:40,138 4931 INFO online_booking openerp.modules.module: module website_sale_checkout_store: creating or updating database tables
2016-09-22 18:15:40,202 4931 INFO online_booking openerp.modules.loading: loading website_sale_checkout_store/templates.xml
2016-09-22 18:15:40,270 4931 INFO online_booking openerp.modules.loading: loading website_sale_checkout_store/views.xml
2016-09-22 18:15:40,289 4931 INFO online_booking openerp.modules.loading: loading website_sale_checkout_store/data/data.xml
2016-09-22 18:15:40,293 4931 ERROR online_booking openerp.sql_db: bad query: INSERT INTO "ir_config_parameter" ("id", "value", "key", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('ir_config_parameter_id_seq'), 'True', 'website_sale_checkout_store.nobill_noship', 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id
Traceback (most recent call last):
File "/opt/odoo/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "ir_config_parameter_key_uniq"
DETAIL: Key (key)=(website_sale_checkout_store.nobill_noship) already exists.
2016-09-22 18:15:40,294 4931 CRITICAL online_booking openerp.service.server: Failed to initialize database online_booking
.
Traceback (most recent call last):
File "/opt/odoo/openerp/service/server.py", line 929, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/opt/odoo/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 351, in load_modules
force, status, report, loaded_modules, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/openerp/tools/convert.py", line 900, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/openerp/tools/convert.py", line 986, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 852, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 762, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 1065, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 372, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 4093, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 508, in new_api
result = method(self._model, cr, uid, _args, *_old_kwargs)
File "/opt/odoo/openerp/models.py", line 4231, in _create
tuple([u[2] for u in updates if len(u) > 2])
File "/opt/odoo/openerp/sql_db.py", line 158, in wrapper
return f(self, _args, *_kwargs)
File "/opt/odoo/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ParseError: "duplicate key value violates unique constraint "ir_config_parameter_key_uniq"
DETAIL: Key (key)=(website_sale_checkout_store.nobill_noship) already exists.
" while parsing /opt/odoo/addons_other/yelizariev/website-addons/website_sale_checkout_store/data/data.xml:4, near
website_sale_checkout_store.nobill_noship
True
--------------- end -----------------------
ustomize->HTML/CSS Editor-> Редактируем CSS жмем Save - результат: попап с ошибкой
Активируем ?debug=assets --> Customize->HTML/CSS Editor-> Редактируем и жмем Convert to Multi-Website - результат: ошибка в консоли
////////Customize->HTML/CSS Editor-> Edit CSS and click Save/////
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.odoo-custom.js:733:394
TypeError: this.resources.xml[resID] is undefined
website_multi_theme.auto_assets_website_6.js:222:668
Server application error Error code: 200 Error message: Odoo Server Error Error data message: 'JsonRequest' object has no attribute 'website' Error data debug: Traceback (most recent call last): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 653, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/tools/pycompat.py", line 87, in reraise raise value File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 695, in dispatch result = self._call_function(**self.params) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 517, in response_wrap response = f(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/web_editor/controllers/main.py", line 397, in save_less view_to_xpath = IrUiView.get_related_views(bundle_xmlid, bundles=True).filtered(views_linking_url) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/website_multi_theme/models/ir_ui_view.py", line 44, in get_related_views current_website = request.website File "/usr/local/lib/python3.6/site-packages/werkzeug/local.py", line
343, in __getattr__ return getattr(self._get_current_object(), name) AttributeError: 'JsonRequest' object has no attribute 'website' web.assets_common.js:3833:341
result http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:3833
then http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:802
fire http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:796
fireWith http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:801
done http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:1192
callback http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:1212
///////?debug=assets --> Convert to Multi-Website/////
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
es5-shim.min.js:3:21
DOM doesn't contain '.o_payment_form' payment_form.js:465:21
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.odoo-custom.js:733:394
Tour Manager is ready. running_tour=null tour_manager.js:170:17
info: Some modules could not be started boot.js:190:21
Rejected modules:
Array(5) [ "portal.portal", "website_sale.website_sale_category", "website_sale.website_sale", "website_blog.editor", "website_sale.editor" ]
boot.js:198:25
Debug:
Object { "portal.portal": {…}, "website_sale.website_sale_category": {…}, "website_sale.website_sale": {…}, "website_blog.editor": {…}, "website_sale.editor": {…} }
boot.js:207:25
TypeError: this.resources.xml[resID] is undefined
web_editor.js:25:28
Server application error Error code: 200 Error message: Odoo Server Error Error data message: invalid literal for int() with base 10: '/web_editor/static/src/less/web_editor.common.less' Error data debug: Traceback (most recent call last): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 944, in __get__ value = record.env.cache.get(record, self) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/api.py", line 967, in get value = self._data[key][field][record._ids[0]] KeyError: '/web_editor/static/src/less/web_editor.common.less' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 653, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/tools/pycompat.py", line 87, in reraise raise value File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 695, in dispatch result = self._call_function(**self.params) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 517, in response_wrap response =
f(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/web/controllers/main.py", line 934, in call_kw return self._call_kw(model, method, args, kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/web/controllers/main.py", line 926, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/website_multi_company/models/ir_ui_view.py", line 39, in make_multi_website 'name': self.xml_id, File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 948, in __get__ self.determine_value(record) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1061, in determine_value self.compute_value(recs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1015, in compute_value self._compute_value(records) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1006, in _compute_value getattr(records, self.compute)() File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/base/ir/ir_ui_view.py", line 302, in _compute_xml_id for data in self.env['ir.model.data'].sudo().search_read(domain, ['module', 'name', 'res_id']): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/models.py", line 4262, in search_read records = self.search(domain or [], offset=offset, limit=limit, order=order) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/models.py", line 1481, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "/mnt/odoo-extra/run
bot/static/build/03201-11-0-0d2716/odoo/models.py", line 3810, in _search query = self._where_calc(args) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/models.py", line 3602, in _where_calc where_clause, where_params = e.to_sql() File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/osv/expression.py", line 1271, in to_sql q, ps = self.__leaf_to_sql(leaf) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/osv/expression.py", line 1204, in __leaf_to_sql params = [field.convert_to_column(p, record=model) for p in params] File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/osv/expression.py", line 1204, in <listcomp> params = [field.convert_to_column(p, record=model) for p in params] File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1154, in convert_to_column return int(value or 0) ValueError: invalid literal for int() with base 10: '/web_editor/static/src/less/web_editor.common.less' ajax.js:25:25
result http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/static/src/js/core/ajax.js:25
jQuery 5
then
fire
fireWith
done
callback
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The modifications recently merged in website_sale_checkout_store are causing an error if the website is not in English (ex. French)
Traceback:
Vue my_checkout
[view_id: 799, xml_id: website_sale_checkout_store.address, model: n/a, parent_id: 765]
load could not load template
Template: 765
It seems caused by the xpath in the "my_checkout" template:
<xpath expr="(//label[contains(text(), 'Zip Code')])[1]">
Для картинок использующих URL модуль web login background не работает.
I try to redirect /page/homepage to /, but then i get "To many redirects" error. Any idea how to best redirect /page/homepage to root?
When choosing pickup and pay at store, the payment page doesn't get loaded and a 500: internal server error message appears without a detailed error message but the following traceback information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/addons/website/models/ir_http.py", line 273, in _handle_exception
response = super(Http, cls)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception
return request._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 768, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch
result = request.dispatch()
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 827, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 333, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 326, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 935, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 506, in response_wrap
response = f(*args, **kw)
File "/mnt/modules/open/website-addons/website_sale_checkout_store/controllers/main.py", line 42, in payment
order.force_quotation_send()
File "/usr/lib/python2.7/dist-packages/odoo/addons/sale/models/sale.py", line 441, in force_quotation_send
order.with_context(email_ctx).message_post_with_template(email_ctx.get('default_template_id'))
File "/usr/lib/python2.7/dist-packages/odoo/addons/mass_mailing/models/mail_thread.py", line 51, in message_post_with_template
return super(MailThread, no_massmail).message_post_with_template(template_id, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1949, in message_post_with_template
update_values = composer.onchange_template_id(template_id, kwargs['composition_mode'], self._name, res_id)['value']
File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/wizard/mail_compose_message.py", line 364, in onchange_template_id
values = self.generate_email_for_composer(template_id, [res_id])[res_id]
File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/wizard/mail_compose_message.py", line 501, in generate_email_for_composer
template_values = self.env['mail.template'].with_context(tpl_partners_only=True).browse(template_id).generate_email(res_ids, fields=fields)
File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_template.py", line 528, in generate_email
report_name = self.render_template(template.report_name, template.model, res_id)
File "/usr/lib/python2.7/dist-packages/odoo/addons/mail/models/mail_template.py", line 397, in render_template
raise UserError(_("Failed to render template %r using values %r")% (template, variables))
UserError: (u"Fehler beim Erstellen der Vorlage <Template memory:7f0d6a6e7a10> mit den Werten {'format_amount': <function <lambda> at 0x7f0d6ba89398>, 'object': sale.order(2,), 'ctx': {'default_template_id': 9, 'mark_so_as_sent': True, 'active_model': 'sale.order', 'default_use_template': True, 'default_composition_mode': 'comment', 'default_mass_mailing_id': False, 'default_email_from': u'[email protected]', 'default_res_id': 2, 'active_ids': [2], 'default_model': 'sale.order', 'custom_layout': 'sale.mail_template_data_notification_email_sale_order', 'tpl_partners_only': True, 'default_mass_mailing_name': False}, 'format_tz': <function <lambda> at 0x7f0d6ba89aa0>, 'user': res.users(1,), 'format_date': <function <lambda> at 0x7f0d6ba89c80>}", '')
Thiss error occurs with Odoo 10.0-20180122 community edition
After install a new server UBUNTU 14 and Odoo 8 and import the backup file from a previous instance of odoo installed into Centos, I´m experiencing the following error...how to eliminate this error and the module too?
See below the error message from odoo-server.log
File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 497, in apply_view_inheritance
source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 475, in apply_inheritance_specs
self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 360, in raise_view_error
raise AttributeError(message)
QWebException: Element '' cannot be located in parent view
Error context:
View login_layout
[view_id: 2279, xml_id: web_debranding.login_layout, model: n/a, parent_id: 171]
2016-02-05 18:09:24,516 4901 INFO prod werkzeug: XXX.XXX.XXX.XXX - - [05/Feb/2016 18:09:24] "GET /web/login HTTP/1.1" 500 -
2016-02-05 18:09:26,077 4901 INFO prod werkzeug: XXX.XXX.XXX.XXX - - [05/Feb/2016 18:09:26] "GET / HTTP/1.1" 200 -
Hi Ivan,
We have found an error in website_sale_search_custom module. Maybe you can help in fixing it. Note that your module is used in https://apps.openerp.com/apps/modules/8.0/website_search_suggestion/ that i spaid module that is purchased by our customer. I'm not sure if you are related to that module, but maybe you can helpю
SO basically problem is following:
Also copying the text:
Odoo Server Error
Traceback (most recent call last):
File "/opt/openerp/odoo/addons/web/controllers/main.py", line 70, in wrap
return f(_args, *_kwargs)
File "/opt/openerp/odoo/addons/web/controllers/main.py", line 1460, in index
return self.base(data, token)
File "/opt/openerp/odoo/addons/web/controllers/main.py", line 1435, in base
ids = ids or Model.search(domain, 0, False, False, context)
File "/opt/openerp/odoo/openerp/http.py", line 908, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/opt/openerp/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
TypeError: search() takes at most 5 arguments (8 given)
Why I think that problem is related to website_sale_search_custom ?
We commented out this 3 lines of code and Export started to work. https://github.com/yelizariev/website-addons/blob/8.0/website_sale_search_custom/models.py#L36
Just for your information - we are using Odoo 8:
9ef5e40278b317a022410d418a751d162523005b
Since it worked with EE in previous versions it is expected to work in involved versions too.
Link to the module: https://github.com/itpp-labs/website-addons/tree/13.0/web_login_background
Hi @yelizariev ,
I installed the website_sale_add_to_cart_disable module (v8) and didn't get it to work. Then I tried it in the runbot (http://runbot.it-projects.info/demo/website-addons/8.0) and there it doesn't work either. This is if I understand correctly what it's supposed to do ... it removes the "Add to cart" button from a product page in the website when the "Show Add To Cart button" property of the product template isn't checked, right?
Thanks,
Els
Creation of Lot does not work, Odoo V11
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Clicking the "Validate" button on at least DO gives an error
"A done move line should never have reserved quantity."
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Latest build is here
https://travis-ci.org/it-projects-llc/website-addons/jobs/158388165
After a user registers in the portal of one website, it is not allowed to register in the portal of another website using the same email address.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Hi Ivan, and congratulations.
In this module the edition of the amount of products is allowed with the numeric keyboard.
If you press enter after change the number, you get:
Error message:
cart_update() takes at least 2 arguments (1 given).
render_template
and check that link are properly replaced. Also, check that it works when res_ids argument is a list. Related PR: #272It should not replace everything. It should replace checkout button only.
Also, there can be 4 buttons instead of button + selection
All versions has to be fixed
Hi @yelizariev ,
Hope you're ding well. Best wishes.
Thanks for the port of the barcode interface.
I've tested it wit products that are managed by lot and expiry dates etc... In the UI, the lots are not displayed once you tried to choose the lot.
No special message is returned
odoo.api: Deprecated method IRAttachmentBackground.check in module odoo.addons.web_login_background.models
Hi @ilmir-k , @yelizariev ,
Hope you're doing well.
We're running a 10.0 version and trying to use the barcode port you made.
Here is our issue :
TypeError: myPackage.ul_id is undefined[En savoir plus] widgets.js:103:37
The error is thrown there https://github.com/it-projects-llc/website-addons/blob/10.0/stock_picking_barcode/static/lib/widgets.js#L83 and only when trying to change from a picking to another one.
In cases when ship enabled(nobill_ship and bill_ship) if you disable checkbox on shop/address ("Ship to the same address" ) and post "Shipping address" you will be redirected to shop/address again
Not sure where the bug is. If the modules are installed independently, they are working great. Once the two modules are installed together there is an error when it comes to the page where the address is to be entered.
Just guessing it is a template issue. Maybe it is because one of the modules are hiding the fields.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.