[
https://issues.apache.org/jira/browse/OFBIZ-12686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17585707#comment-17585707
]
ASF subversion and git services commented on OFBIZ-12686:
---------------------------------------------------------
Commit adf6185c3982401ead0d62114161adfa4ec216e4 in ofbiz-framework's branch
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=adf6185c39 ]
Fixed: Tax calculation not considering productStoreGroup (OFBIZ-12686)
By default OOTB there is no primaryStoreGroupId. So a test fails because of
that.
This checks that it's present before searching for it.
I did not check it's related but maybe a look at how it's handled in
PriceServices::calculateProductPrice might help to possibly enhance.
> Tax calculation not considering productStoreGroup
> -------------------------------------------------
>
> Key: OFBIZ-12686
> URL: https://issues.apache.org/jira/browse/OFBIZ-12686
> Project: OFBiz
> Issue Type: Bug
> Components: accounting, order
> Affects Versions: Upcoming Branch
> Reporter: Ingo Wolfmayr
> Assignee: Jacques Le Roux
> Priority: Major
> Fix For: 18.12.06, 22.01.01
>
> Attachments: OFBIZ-12686.patch, taxCalc.patch
>
>
> For one product I have different prices according to the product store:
> B2C store: taxinPrice = Y
> B2B store: taxinPrice = N
> The tax calc service takes the most current price and ignores the product
> store.
> Therefore it may happen that SALES_TAX is calculated instead of VAT_TAX.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)