Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0056556Openbravo LocalizationsLocalization Francepublic2024-09-26 14:292024-11-07 15:29
sofidossant 
psanjuan 
normalminoralways
newopen 
5
 
 
0056556: If I have the region in the tax header, the tax does not apply.
The tax 8CACEC5051144AD2945320A6293E1D23 of the module /org.openbravo.localization.france.referencedata.taxes/ has assigned regions in the header and this generates that when the location of the organization does not have that region it cannot be applied.
1 - Open a terminal with location without region
2 - Add some product that have the configuracion with the tax 8CACEC5051144AD2945320A6293E1D23
3 - The product use another tax and not the tax 8CACEC5051144AD2945320A6293E1D23

The region must not be configured, and give the option that is configured in the Tax Zone regions tab.
 
https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.france.referencedata.taxes/-/blob/master/referencedata/standard/Taxes_France.xml?ref_type=heads&blame=1 [^]
You need to change this part:
<FinancialMgmtTaxRate id="8CACEC5051144AD2945320A6293E1D23" identifier="TVA 10% - TVA intermédiaire">
    <id>8CACEC5051144AD2945320A6293E1D23</id>
    <active>true</active>
    <name>TVA 10%</name>
    <description xsi:nil="true"/>
    <taxSearchKey xsi:nil="true"/>
    <validFromDate>2014-01-01T00:00:00.0Z</validFromDate>
    <summaryLevel>false</summaryLevel>
    <rate>10</rate>
    <parentTaxRate xsi:nil="true"/>
    <country id="102" entity-name="Country" identifier="France"/>
    <region id="F1F2FE3DC2404E32BE71C95D723C8B7C" entity-name="Region" identifier="Auvergne-Rhône-Alpes"/>
    <destinationCountry id="102" entity-name="Country" identifier="France"/>
    <destinationRegion id="F1F2FE3DC2404E32BE71C95D723C8B7C" entity-name="Region" identifier="Auvergne-Rhône-Alpes"/>
    <taxCategory id="3DDBD769E0B14E54B8A55A54CA50C142" entity-name="FinancialMgmtTaxCategory" identifier="TVA intermédiaire"/>
    <default>false</default>
    <taxExempt>false</taxExempt>
    <salesPurchaseType>B</salesPurchaseType>
    <cascade>false</cascade>
    <businessPartnerTaxCategory xsi:nil="true"/>
    <lineNo>10</lineNo>
    <withholdingTax>false</withholdingTax>
    <notTaxable>false</notTaxable>
    <deductableRate xsi:nil="true"/>
    <originalRate xsi:nil="true"/>
    <notTaxdeductable>false</notTaxdeductable>
    <istaxdeductable>false</istaxdeductable>
    <noVAT>false</noVAT>
    <baseAmount>LNA</baseAmount>
    <taxBase xsi:nil="true"/>
    <docTaxAmount>D</docTaxAmount>
    <isCashVAT>false</isCashVAT>
    <searchKey>TVA 10%</searchKey>
  </FinancialMgmtTaxRate>


Delete this lines:
 <region id="F1F2FE3DC2404E32BE71C95D723C8B7C" entity-name="Region" identifier="Auvergne-Rhône-Alpes"/>
    <destinationRegion id="F1F2FE3DC2404E32BE71C95D723C8B7C" entity-name="Region" identifier="Auvergne-Rhône-Alpes"/>
No tags attached.
Issue History
2024-09-26 14:29sofidossantNew Issue
2024-09-26 14:29sofidossantTypedefect => design defect
2024-10-08 09:27psanjuanAssigned To => psanjuan
2024-10-08 09:29psanjuanNote Added: 0170084
2024-10-08 09:29psanjuanAssigned Topsanjuan => sofidossant
2024-10-08 09:29psanjuanStatusnew => feedback
2024-11-07 15:29egoitzAssigned Tosofidossant => psanjuan
2024-11-07 15:29egoitzStatusfeedback => new

Notes
(0170084)
psanjuan   
2024-10-08 09:29   
Openbravo is not supporting taxes datasets. Please fix this problem in the customer enviroment. We are not planning to release any new version of this module, therefore this changes will remain. Thanks, Patricia.