[
https://issues.apache.org/jira/browse/OFBIZ-12686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17585709#comment-17585709
]
ASF subversion and git services commented on OFBIZ-12686:
---------------------------------------------------------
Commit af7c476fe5eca70302ddf9fddcbc2844219a037b in ofbiz-framework's branch
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=af7c476fe5 ]
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)