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

Fix Patient weight and DOB sync #37

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Fix Patient weight and DOB sync #37

merged 1 commit into from
Dec 9, 2024

Conversation

VaishSiddharth
Copy link
Contributor

Fix for:

  • Patient weight sync on Quotation update
  • DOB sync

Copy link
Contributor

@Ruhanga Ruhanga left a comment

Choose a reason for hiding this comment

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

It's not entirely clear what this is addressing. However, I do have one minor question below.

Comment on lines +125 to +127
if (saleOrder.getPartnerWeight() == null
|| saleOrder.getPartnerWeight().isEmpty()
|| saleOrder.getPartnerWeight().equals("false")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this not supposed to get the actual numeric weight of the partner instead of a boolean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So in Odoo if the field is null it is set as False that's why we cast it to String in our eip routes.

@rbuisson rbuisson merged commit 1cefe09 into main Dec 9, 2024
3 checks passed
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.

3 participants