Skip to content

[15.0][MIG] base_optional_quick_create #501

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

Merged
merged 30 commits into from
Oct 24, 2022

Conversation

kimirondon
Copy link

No description provided.

@kimirondon kimirondon force-pushed the 15.0-mig-base_optional_quick_create branch from 0ce3916 to 9e89774 Compare June 5, 2022 20:11
@kimirondon kimirondon force-pushed the 15.0-mig-base_optional_quick_create branch from 9e89774 to 0c2bba3 Compare July 29, 2022 18:29
@mcassuto
Copy link

Anyone to approve this PR ?

@simahawk simahawk changed the title 15.0 mig base optional quick create [15.0][MIG] base_optional_quick_create Aug 24, 2022
@simahawk simahawk added this to the 15.0 milestone Aug 24, 2022
Copy link

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@simahawk
Copy link

/ocabot migration base_optional_quick_create

@OCA-git-bot OCA-git-bot mentioned this pull request Aug 24, 2022
34 tasks
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@akevinieron
Copy link

Ping 😄

SimoRubi and others added 15 commits September 29, 2022 15:47
…nsetting the flag clears the patch

Currently translated at 100,0% (3 of 3 strings)

Translation: server-tools-10.0/server-tools-10.0-base_optional_quick_create
Translate-URL: https://translation.odoo-community.org/projects/server-tools-10-0/server-tools-10-0-base_optional_quick_create/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-ux-12.0/server-ux-12.0-base_optional_quick_create
Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_optional_quick_create/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-ux-12.0/server-ux-12.0-base_optional_quick_create
Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_optional_quick_create/
When starting Odoo in multiprocess, a change to the field
IrModel.avoid_quick_create would be active only on the current worker.
Otherwise, it would be active after a restart.

The proposed change is to signal a registry change, forcing the other
workers to reload a registry and then be aware of the change.
Currently translated at 100.0% (3 of 3 strings)

Translation: server-ux-14.0/server-ux-14.0-base_optional_quick_create
Translate-URL: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-base_optional_quick_create/it/
@llabusch93 llabusch93 force-pushed the 15.0-mig-base_optional_quick_create branch from 0c2bba3 to 14e907f Compare September 29, 2022 19:47
@oca-clabot
Copy link

Hey @kimirondon, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: https://odoo-community.org/page/cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

@desdelinux
Copy link

LGTM, ping @kimirondon

@ao-landoo
Copy link

@pedrobaeza Can it be merged?

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-501-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 54feadc into OCA:15.0 Oct 24, 2022
@OCA-git-bot
Copy link
Contributor

@pedrobaeza The merge process could not be finalized, because command twine upload --repository-url https://upload.pypi.org/legacy/ -u __token__ odoo_addon_base_optional_quick_create-15.0.1.0.0.2-py3-none-any.whl failed with output:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading odoo_addon_base_optional_quick_create-15.0.1.0.0.2-py3-none-any.whl
�[?25l
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[33mWARNING �[0m Retrying (Retry(total=9, connect=4, read=None, redirect=None,          
         status=None)) after connection broken by                               
         'NewConnectionError('<urllib3.connection.HTTPSConnection object at     
         0x7f1e4d5a22e0>: Failed to establish a new connection: [Errno 111]     
         Connection refused')': /legacy/                                        
�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[33mWARNING �[0m Retrying (Retry(total=8, connect=3, read=None, redirect=None,          
         status=None)) after connection broken by                               
         'NewConnectionError('<urllib3.connection.HTTPSConnection object at     
         0x7f1e4d5a2f70>: Failed to establish a new connection: [Errno 111]     
         Connection refused')': /legacy/                                        
�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[33mWARNING �[0m Retrying (Retry(total=7, connect=2, read=None, redirect=None,          
         status=None)) after connection broken by                               
         'NewConnectionError('<urllib3.connection.HTTPSConnection object at     
         0x7f1e4d5a24f0>: Failed to establish a new connection: [Errno 111]     
         Connection refused')': /legacy/                                        
�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[33mWARNING �[0m Retrying (Retry(total=6, connect=1, read=None, redirect=None,          
         status=None)) after connection broken by                               
         'NewConnectionError('<urllib3.connection.HTTPSConnection object at     
         0x7f1e4d5a2820>: Failed to establish a new connection: [Errno 111]     
         Connection refused')': /legacy/                                        
�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[33mWARNING �[0m Retrying (Retry(total=5, connect=0, read=None, redirect=None,          
         status=None)) after connection broken by                               
         'NewConnectionError('<urllib3.connection.HTTPSConnection object at     
         0x7f1e4cd1b310>: Failed to establish a new connection: [Errno 111]     
         Connection refused')': /legacy/                                        
�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[2K�[35m  0%�[0m �[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━�[0m �[32m0.0/42.6 kB�[0m • �[36m--:--�[0m • �[31m?�[0m
�[?25hTraceback (most recent call last):
  File "/app/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/app/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/app/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/app/lib/python3.8/site-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
  File "/app/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f1e4cd1be80>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/lib/python3.8/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 815, in urlopen
    return self.urlopen(
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 815, in urlopen
    return self.urlopen(
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 815, in urlopen
    return self.urlopen(
  [Previous line repeated 2 more times]
  File "/app/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/app/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='upload.pypi.org', port=443): Max retries exceeded with url: /legacy/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1e4cd1be80>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/bin/twine", line 8, in <module>
    sys.exit(main())
  File "/app/lib/python3.8/site-packages/twine/__main__.py", line 33, in main
    error = cli.dispatch(sys.argv[1:])
  File "/app/lib/python3.8/site-packages/twine/cli.py", line 123, in dispatch
    return main(args.args)
  File "/app/lib/python3.8/site-packages/twine/commands/upload.py", line 198, in main
    return upload(upload_settings, parsed_args.dists)
  File "/app/lib/python3.8/site-packages/twine/commands/upload.py", line 142, in upload
    resp = repository.upload(package)
  File "/app/lib/python3.8/site-packages/twine/repository.py", line 186, in upload
    resp = self._upload(package)
  File "/app/lib/python3.8/site-packages/twine/repository.py", line 172, in _upload
    resp = self.session.post(
  File "/app/lib/python3.8/site-packages/requests/sessions.py", line 635, in post
    return self.request("POST", url, data=data, json=json, **kwargs)
  File "/app/lib/python3.8/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/app/lib/python3.8/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/app/lib/python3.8/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='upload.pypi.org', port=443): Max retries exceeded with url: /legacy/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1e4cd1be80>: Failed to establish a new connection: [Errno 111] Connection refused'))

@kimirondon kimirondon deleted the 15.0-mig-base_optional_quick_create branch March 13, 2025 14:47
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.