Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] agreement_legal : Migration to 17.0 #40

Open
wants to merge 77 commits into
base: 17.0
Choose a base branch
from

Conversation

imlopes
Copy link

@imlopes imlopes commented Sep 10, 2024

@imlopes imlopes marked this pull request as draft September 16, 2024 12:30
@imlopes imlopes marked this pull request as ready for review September 20, 2024 13:04
ygol and others added 24 commits September 20, 2024 10:17
[UPD] README.rst
[UPD] Update agreement_legal.pot
Translated using Weblate (French)

Currently translated at 100.0% (301 of 301 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/fr/

[UPD] Update agreement_legal.pot
[UPD] Update agreement_legal.pot
[UPD] Update agreement_legal.pot

Added translation using Weblate (Portuguese (Portugal))
Translated using Weblate (Portuguese (Portugal))

Currently translated at 2.7% (7 of 260 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/

Translated using Weblate (Portuguese (Portugal))

Currently translated at 21.9% (57 of 260 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/
[UPD] Update agreement_legal.pot

[UPD] Update agreement_legal.pot
oca-ci and others added 18 commits September 20, 2024 10:17
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: agreement-16.0/agreement-16.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: agreement-16.0/agreement-16.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal/
Currently translated at 100.0% (265 of 265 strings)

Translation: agreement-16.0/agreement-16.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: agreement-16.0/agreement-16.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal/
Currently translated at 87.9% (233 of 265 strings)

Translation: agreement-16.0/agreement-16.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal/fr/
Currently translated at 85.2% (226 of 265 strings)

Translation: agreement-16.0/agreement-16.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal/pt_BR/
@imlopes imlopes force-pushed the 17.0-mig-agreement_legal branch 2 times, most recently from df77367 to 605235a Compare September 20, 2024 14:31
@ygol
Copy link
Contributor

ygol commented Sep 20, 2024

unable to install on runboat

Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 1783, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/opt/odoo/odoo/http.py", line 1810, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/odoo/http.py", line 2014, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/odoo/http.py", line 759, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 466, in button_immediate_install
return self._button_immediate_function(self.env.registry[self._name].button_install)
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 590, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "", line 2, in new
File "/opt/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/opt/odoo/odoo/modules/registry.py", line 114, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/opt/odoo/odoo/modules/loading.py", line 480, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/opt/odoo/odoo/modules/loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
File "/opt/odoo/odoo/modules/loading.py", line 227, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/opt/odoo/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/opt/odoo/odoo/tools/convert.py", line 627, in convert_file
convert_xml_import(env, module, fp, idref, mode, noupdate)
File "/opt/odoo/odoo/tools/convert.py", line 693, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/odoo/odoo/tools/convert.py", line 613, in parse
self._tag_root(de)
File "/opt/odoo/odoo/tools/convert.py", line 567, in _tag_root
raise ParseError(msg) from None # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback
odoo.tools.convert.ParseError: while parsing /mnt/data/odoo-addons-dir/agreement_legal/views/agreement_appendix.xml:19
Since 17.0, the "attrs" and "states" attributes are no longer used.
View: Agreement Appendix Form in agreement_legal/views/agreement_appendix.xml

View error context:
{'name': 'invalid view'}

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPCError@http://oca-agreement-17-0-pr40-605235adfaae.runboat.odoo-community.org/web/assets/bb8d844/web.assets_web.min.js:2885:319
makeErrorFromResponse@http://oca-agreement-17-0-pr40-605235adfaae.runboat.odoo-community.org/web/assets/bb8d844/web.assets_web.min.js:2888:163
jsonrpc/promise</<@http://oca-agreement-17-0-pr40-605235adfaae.runboat.odoo-community.org/web/assets/bb8d844/web.assets_web.min.js:2892:34

@ygol
Copy link
Contributor

ygol commented Sep 21, 2024

@imlopes doesn't work. pls chk runboat

@gurneyalex
Copy link
Member

@imlopes #35 was merged can you update the dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.