Content-Length: 259167 | pFad | http://github.com/odoo/odoo/pull/193451

E7 [FIX] account: do not affect base of tax without "is_base_affected" by kitan191 · Pull Request #193451 · odoo/odoo · GitHub
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] account: do not affect base of tax without "is_base_affected" #193451

Open
wants to merge 1 commit into
base: saas-17.2
Choose a base branch
from

Conversation

kitan191
Copy link
Contributor

Steps to reproduce:

  • Install Accounting
  • Create a first tax:
    • Tax Name: Tax1
    • Tax Computation: Percentage of Price
    • Tax Type: Sales
    • Amount: 20%
    • Label on Invoices: Tax1
    • Tax Group: Tax1
    • Affect Base of Subsequent Taxes: [Checked]
  • Create a second tax:
    • Tax Name: Tax2
    • Tax Computation: Percentage of Price
    • Tax Type: Sales
    • Amount: 20%
    • Label on Invoices: Tax2
    • Tax Group: Tax2
    • Base Affected by Previous Taxes: [Not checked]
  • Create an invoice
  • Add an invoice line
  • Add Tax1
  • Add Tax2

Issue:
Base amount of Tax2 is affected by Tax1 when it should not.

opw-4450494


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented Jan 13, 2025

Pull request status dashboard

@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Jan 13, 2025
@kitan191 kitan191 force-pushed the saas-17.2-opw-4450494-fix_base_affected_by_previous_tax-pta branch 3 times, most recently from 73a55c4 to 813ebba Compare January 16, 2025 14:16
@kitan191 kitan191 changed the title [FIX] account: take "is_base_affected" props of tax into account [FIX] account: do not affect base of tax without "is_base_affected" Jan 16, 2025
Steps to reproduce:
- Install Accounting
- Create a first tax:
  * Tax Name: Tax1
  * Tax Computation: Percentage of Price
  * Tax Type: Sales
  * Amount: 20%
  * Label on Invoices: Tax1
  * Tax Group: Tax1
  * Affect Base of Subsequent Taxes: [Checked]
- Create a second tax:
  * Tax Name: Tax2
  * Tax Computation: Percentage of Price
  * Tax Type: Sales
  * Amount: 20%
  * Label on Invoices: Tax2
  * Tax Group: Tax2
  * Base Affected by Previous Taxes: [Not checked]
- Create an invoice
- Add an invoice line
- Add Tax1
- Add Tax2

Issue:
Base amount of Tax2 is affected by Tax1 when it should not.

opw-4450494
@kitan191 kitan191 force-pushed the saas-17.2-opw-4450494-fix_base_affected_by_previous_tax-pta branch from 813ebba to 594b7b1 Compare January 16, 2025 19:06
@kitan191 kitan191 marked this pull request as ready for review January 16, 2025 19:07
@kitan191 kitan191 requested a review from smetl January 16, 2025 19:07
@C3POdoo C3POdoo requested a review from a team January 16, 2025 19:08
@kitan191 kitan191 removed the request for review from a team January 17, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/odoo/odoo/pull/193451

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy