Closed simahawk closed 1 year ago
Works also on v16!
/ocabot merge patch
@rven could you please fwd port to 15 and 16? :pray:
What a great day to merge this nice PR. Let's do it! Prepared branch 14.0-ocabot-merge-pr-153-by-simahawk-bump-patch, awaiting test results.
Congratulations, your PR was merged at 36e94b1c4ab2de54218b19b05c944ae1ace875ac. Thanks a lot for contributing to OCA. ❤️
odoo.fields.determine
requires inverse methods to have__name__
attribute. Unfortunately withpartialmethod
this attribute is not propagated even by usingfunctools.update_wrapper
. In any case,update_wrapper
would propagate the wrapped func name which is not the same here.Introduced by https://github.com/odoo/odoo/commit/36544651f2049bcf18777091dbf02c9631b33243
An alternative solution has been proposed in #152 but I think it does not address all the needs. @rven pls feel free to argue against this ;)