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

[REF] Add test that are failing #4

Open
wants to merge 2 commits into
base: find-classif-less-code-2
Choose a base branch
from

Conversation

legalsylvain
Copy link
Member

classification_B_company_1 is :

  • sale_tax_ids : ['account_tax_sale_5_company_1', 'account_tax_sale_20_company_1')]
  • purchase_tax_ids : []

So :

  • create a product with the following settings should create a new classification.(one tax less)
    -> sale_tax_ids : ['account_tax_sale_5_company_1')]
    -> purchase_tax_ids : []

  • create a product with the following settings should create a new classification. (one tax more)

  • sale_tax_ids : ['account_tax_sale_5_company_1', 'account_tax_sale_20_company_1')]
    -> purchase_tax_ids : ['account_tax_purchase_20_company_1']

ref : https://github.com/OCA/account-fiscal-rule/blob/16.0/account_product_fiscal_classification/demo/account_product_fiscal_classification.xml#L31

For the time being, the tests are failing, so the algorithm is not good.

What do you think, @bealdav

@legalsylvain legalsylvain force-pushed the find-classif-is-it-working branch from 39da78b to 2629c79 Compare June 17, 2024 12:39
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.

1 participant