Open OCA-git-bot opened 8 months ago
migrated sale_layout_category_hide_detail in #253
@jeroenev
i tried to install and test your #253 but it doesnt install if tails with a error (below) and if its forced it crashes odoo when trying to open quotations,
`
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/cloudclusters/odoo/odoo/http.py", line 1732, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/cloudclusters/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/cloudclusters/odoo/odoo/http.py", line 1759, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/cloudclusters/odoo/odoo/http.py", line 1960, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/cloudclusters/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/cloudclusters/odoo/odoo/addons/base/models/ir_http.py", line 207, in _dispatch
result = endpoint(request.params)
File "/cloudclusters/odoo/odoo/http.py", line 722, in route_wrapper
result = endpoint(self, *args, *params_ok)
File "/cloudclusters/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/cloudclusters/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/cloudclusters/odoo/odoo/api.py", line 466, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/cloudclusters/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, args, kwargs)
File "
Element '
View error context: {'file': '/cloudclusters/odoo/odoo/addons/sale_layout_category_hide_detail/views/invoice_report_templates.xml', 'line': 2, 'name': 'report_invoice_document_hide_detail', 'view': ir.ui.view(2838,), 'view.model': False, 'view.parent': ir.ui.view(717,), 'xmlid': 'report_invoice_document_hide_detail'}
The above server error caused the following client error: RPC_ERROR: Odoo Server Error RPCError@https://odoo--0.cloudclusters.net/web/assets/a135007/web.assets_web.min.js:2869:319 makeErrorFromResponse@https://odoo--0.cloudclusters.net/web/assets/a135007/web.assets_web.min.js:2872:163 jsonrpc/promise</<@https://odoo--0.cloudclusters.net/web/assets/a135007/web.assets_web.min.js:2876:34 `
Try updating Odoo17 to the latest commit/version, they changed something a week ago in that template see last commit: https://github.com/OCA/sale-reporting/pull/253/commits/d69532806985fcca323ef127dc15c8af1b45cda3 if you're running an Odoo17 commit from a week or 2 ago it will give an error, if you're running the latest version it should work
Please do this conversation in the corresponding PR, not here.
sale_order_line_position #264
sale_comment_template https://github.com/OCA/sale-reporting/pull/265
Todo
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0
Modules to migrate
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list