Skip to content
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

Add option parameters on transaction #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

thibaultrey
Copy link
Contributor

Add an option attribute to cart transactions in order to send cart line's additional information to Odoo.

Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me.

Perhaps you could type options as object or better Map<str, number|str> to make sure a dictionary is always sent to the backend?

It would also be nice to add a little test. The test suite is already there.

@sbidoul
Copy link
Member

sbidoul commented Feb 12, 2024

@thibaultrey I just merged #11 that solves the same problem as your last commit, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants