-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
[16.0][FIX] pos_order_to_sale_order: rpc helper #1260
[16.0][FIX] pos_order_to_sale_order: rpc helper #1260
Conversation
Hi @legalsylvain, |
Hi. Do you mean it should be changed in all modules ?
|
Thanks for reviewing! I'm not sure enough and I haven't tested globally, but as I analyzed:
The last component is defined here, and it's just a wrapper over So, in our case the code in the main comment leads to an error, but I haven't found any other incompatibilities with the other modules. Regards |
`rpc` attribute used comes from LegacyComponent, that is deprecated and throws an error in some specific cases. Changing it by `this.env.services` works properly in all cases.
166a634
to
6b84d97
Compare
Hi @OCA/pos-maintainers can this be merged please? Despite it is difficult to be checked (only in code), it doesn't break any behaviour. Thanks! |
/ocabot merge patch |
On my way to merge this fine PR! |
@legalsylvain The merge process could not be finalized, because command
|
Congratulations, your PR was merged at 1f0a93d. Thanks a lot for contributing to OCA. ❤️ |
rpc
attribute used comes from LegacyComponent, that is deprecated and throws an error in some specific cases. Changing it bythis.env.services
works properly in all cases.This can be reproduced executing this from other component:
FL-556-4346