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

Fixes for OrderLine.LineNetAmt and Flatrate Conditions #10443

Merged
merged 3 commits into from
Dec 15, 2020

Conversation

TheBestPessimist
Copy link
Contributor

@@ -46,6 +46,8 @@ public static OrderLinePriceUpdateRequest ofOrderLine(final org.compiere.model.I
public static OrderLinePriceUpdateRequestBuilder prepare(final org.compiere.model.I_C_OrderLine orderLine)
{
return builder()
.updatePriceEnteredAndDiscountOnlyIfNotAlreadySet(true)
Copy link
Member

Choose a reason for hiding this comment

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

not sure here..because e.g. if i untick the manual-price checkbox, i want the price reset by the pricing-engine..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you already fixed/removed this line.

nothing for me to do here, except for more testing.

Hopefully this doesn't break other stuff.
In case it does, we can put back the line, and add a callout to un-set PriceEntered if IsManualPrice is unticked.
@metas-ts
Copy link
Member

@TheBestPessimist i tested locally and believe that right now it's fine for the use-case we are addressing;
please check my commit message 9c90d00 (#10443) for a proposal on what to do if i now broke it for you 😊

@metas-ts metas-ts merged commit a590140 into yoyo_uat Dec 15, 2020
@metas-ts metas-ts deleted the gh10365-pricelist-fixes branch December 15, 2020 18:10
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.

None yet

2 participants