-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
server_env_mixin broken: on 14.0 + 15.0 + 16.0 #151
Labels
Comments
Closed
I'm working on a fix |
simahawk
added a commit
to camptocamp/server-env
that referenced
this issue
Apr 4, 2023
odoo.fields.determine requires inverse methods to have __name__ attribute. Unfortunately with partialmethod this attribute is not propagated even by using functools.update_wrapper. Introduced by odoo/odoo@3654465
rven
pushed a commit
to rven/server-env
that referenced
this issue
Apr 4, 2023
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
rven
pushed a commit
to rven/server-env
that referenced
this issue
Apr 4, 2023
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
Ricardoalso
pushed a commit
to camptocamp/server-env
that referenced
this issue
Oct 6, 2023
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
moitabenfdz
pushed a commit
to DynAppsNV/server-env
that referenced
this issue
Nov 13, 2023
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
thienvh332
pushed a commit
to thienvh332/server-env
that referenced
this issue
Sep 20, 2024
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
thienvh332
pushed a commit
to thienvh332/server-env
that referenced
this issue
Sep 24, 2024
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
sbidoul
pushed a commit
that referenced
this issue
Sep 30, 2024
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
chaule97
pushed a commit
to chaule97/server-env
that referenced
this issue
Oct 1, 2024
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
chaule97
pushed a commit
to chaule97/server-env
that referenced
this issue
Oct 1, 2024
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
chaule97
pushed a commit
to chaule97/server-env
that referenced
this issue
Oct 1, 2024
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute. Unfortunately with ``partialmethod`` this attribute is not propagated even by using ``functools.update_wrapper``. In any case, `update_wrapper` would propagate the wrapped func name which is not the same here. Introduced by odoo/odoo@3654465
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A refactoring done in odoo here odoo/odoo@3654465 which breaks server_env because the partial method cannot be inspected https://github.com/OCA/server-env/blob/14.0/server_environment/models/server_env_mixin.py#L335
Error:
Issue reported odoo/odoo#117559
The text was updated successfully, but these errors were encountered: