On clicking on the button "continue to billing page" a new user is supposed to be created thanks to the function
shippingAddAddress
Actual Behavior
Here the function called is shippingUpdateAddress, this function tries to update the current user "public user" (Id = 4) .
It's due to the API that sends a response with a PartnerShipping with an Id = 4.
Actually in your demo you also receive a PartnerShipping with and Id = 4` (as you can see in the screen below).
However after clicking on the button "continue to billing page" we can see that you do not have any id in params. Thus on your demo the function shippingAddAdress is called. Whereas, since we have an id, the function shippingUpdateAddress is called.
Furthermore, the code in your demo seems not to be the same as in your Github.
Possible Solution
No response
Steps to reproduce
No response
What version of odoo integration are you using?
14.0
What version of Node.js are you using?
v12.22.12
What browser (and version) are you using?
Chrome version 101.0.4951.64
What operating system (and version) are you using?
Linux
Relevant log output
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Expected Behavior
On clicking on the button "continue to billing page" a new user is supposed to be created thanks to the function
shippingAddAddress
Actual Behavior
Here the function called is
shippingUpdateAddress
, this function tries to update the current user "public user" (Id = 4
) .It's due to the API that sends a response with a
PartnerShipping
with anId = 4
. Actually in your demo you also receive aPartnerShipping
with and Id = 4` (as you can see in the screen below).However after clicking on the button "continue to billing page" we can see that you do not have any id in params. Thus on your demo the function
shippingAddAdress
is called. Whereas, since we have an id, the functionshippingUpdateAddress
is called.Furthermore, the code in your demo seems not to be the same as in your Github.
Possible Solution
No response
Steps to reproduce
No response
What version of odoo integration are you using?
14.0
What version of Node.js are you using?
v12.22.12
What browser (and version) are you using?
Chrome version 101.0.4951.64
What operating system (and version) are you using?
Linux
Relevant log output
No response
Code of Conduct