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

12.0 ir_attachment_url: URL storage settings could not be changed via web UI #960

Draft
wants to merge 1 commit into
base: 12.0
Choose a base branch
from

Conversation

em230418
Copy link

No description provided.

@em230418
Copy link
Author

Началось с этого: #775 (comment)
Я такой

наверно нигде. Прямого вызова не вижу. Сделаю пожалуй вот так: 795c9cc#diff-0a5344f801c02d20f45ba23987e8c2de

Но в 10.0 он вызывался посредством этого https://github.com/odoo/odoo/blob/91807404e7d5c314ea30926b44bd16e878417ec1/odoo/addons/base/res/res_config.py#L548-L551

В данном случае помимо отмены того коммита, 12.0 жаловался, что методы set_* и get_default_all устарели.

@trojikman trojikman requested a review from yelizariev May 19, 2020 21:50
@em230418
Copy link
Author

Напомню, что у нас сейчас параллельно разрабатывается версия, в которой данного переключения нет

@@ -15,10 +15,21 @@ class IrAttachmentSettings(models.TransientModel):
default="url",
string="Attachment storage",
required=True,
config_parameter="ir_attachment_url.storage",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Это точно нужно?

@trojikman trojikman marked this pull request as draft May 28, 2021 12:41
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.

None yet

3 participants