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 76 commits into
base: 17.0
Choose a base branch
from

Conversation

imlopes
Copy link

@imlopes imlopes commented Sep 10, 2024

@imlopes imlopes force-pushed the 17.0-mig-agreement_legal branch from 0f188f1 to 7a63a57 Compare September 10, 2024 11:42
@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
@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

@imlopes imlopes force-pushed the 17.0-mig-agreement_legal branch 2 times, most recently from 20bf55c to bec79a2 Compare September 20, 2024 14:54
@imlopes imlopes requested a review from ygol September 20, 2024 14:56
@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?

@rousseldenis
Copy link
Contributor

/ocabot migration agreement_legal

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Oct 1, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 1, 2024
7 tasks
@imlopes imlopes force-pushed the 17.0-mig-agreement_legal branch 2 times, most recently from d8779ce to 07a55dd Compare October 1, 2024 12:17
agreement_legal/models/agreement.py Outdated Show resolved Hide resolved
@imlopes imlopes force-pushed the 17.0-mig-agreement_legal branch 2 times, most recently from d704874 to 9daa010 Compare October 21, 2024 14:35
@rousseldenis
Copy link
Contributor

/ocabot migration agreement_legal

@imlopes
Copy link
Author

imlopes commented Oct 23, 2024

@ygol
it's finally ready to be tested

etobella and others added 25 commits January 7, 2025 13:30
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/
@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 17.0.

@OCA-git-bot OCA-git-bot force-pushed the 17.0-mig-agreement_legal branch from 8969ca5 to 4a99e92 Compare January 7, 2025 13:30
@luisDIXMIT
Copy link

Hi @ygol, the runboat build is now available. You can already check it.

@ygol
Copy link
Contributor

ygol commented Jan 12, 2025

when making a new version. the previous one should be listed in revision tab image

still relevant

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

Successfully merging this pull request may close these issues.