Closed rven closed 1 year ago
Hi @rven. It seems a duplicate of https://github.com/OCA/server-env/issues/151 Don't you think ? If yes, could you close your issue. thanks !
Hi @rven. It seems a duplicate of #151 Don't you think ? If yes, could you close your issue. thanks !
@legalsylvain This is about the same issue, but in fact of waiting for Odoo to fix this, it can also be fixed in the way I do in this PR! @simahawk What do you think? This was working fine now https://github.com/OCA/storage/pull/254
I'm working on a fix on #151
@rven can you pls have a look at https://github.com/OCA/server-env/pull/153?
I don't think is correct to use partial
instead of partialmethod
and in any case update_wrapper
won't propagate the right name.
@rven can you pls have a look at #153? I don't think is correct to use
partial
instead ofpartialmethod
and in any caseupdate_wrapper
won't propagate the right name.
It is indeed not correct, because the record(self) is also not provided well!
AttributeError: 'functools.partial' object has no attribute 'name'