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

[16.0][MIG] account_cash_discount_write_off: migration to v16.0 #708

Open
wants to merge 25 commits into
base: 16.0
Choose a base branch
from

Conversation

AnizR
Copy link

@AnizR AnizR commented Feb 5, 2024

Migration of the module "account_cash_discount_write_off".

Depends on : #706 - [16.0][MIG] account cash discount base: migration to v16.0 #707 - [16.0][MIG] account cash discount payment: migration to v16.0

  • migration to v16.0
  • adding some tests

benwillig and others added 24 commits February 5, 2024 09:15
…ked to an invoice which has a discount

[CHG] Use a computed flag to know if there is tax adjustments or not

[CHG] When the pay_with_discount flag is changed, the amount to paid is computed based on the invoice total and the invoice total with the discount amount deducted

[FIX] Invoice report should display the amount_total_with_discount instead of the discount_amount

[CHG] Use a single date as a search filter for the discount due date

[FIX] The generated discount write off move should be posted depending on the payment mode configuration

[CHG] only the pay_with_discount flag should decide if the write off should be created or not

[CHG] The accounting partner is already the one defined on the move line
…e tax lines

[CHG] changed the way to populate tax's move lines debit/credit fields

[FIX] the discount due date should be recomputed when the invoice data changes

[FIX] the amount of the payment line should not include the discount if the current date is posterior to the discount due date

[IMP] Display a button on the payment line tree view to toggle the pay with discount flag

[ADD] Show the discount amount/due date in the payment line generation wizard

[FIX] Keep the base line with taxes

[FIX] do not allow to change the pay_with_discount field value if the payment order is done

[CHG] display a filled/emtpy checkbox depending if the discount has been enabled or not

[FIX] use the writeoff account for a non tax line

[ADD] display the discount due date/amount in the move line search more

[FIX] the domain should be recomputed when the discount due date changes

[FIX] new onchange method to disable the discount if the amount of a payment line has been changed manually. The writeoff shouldn't be created if the amount of the line doesn't correspond to the invoice total with discount

[FIX] the pay with discount field should not be visible if the invoice has already been paid partially

[FIX] discount data should only be visible in a supplier invoice
[FIX] Fixed error with rounding when creating a writeoff
…tains a discount

[ADD] use the supplier payment term when creating a refund
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-payment-14.0/account-payment-14.0-account_cash_discount_write_off
Translate-URL: https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_cash_discount_write_off/
Currently translated at 100.0% (12 of 12 strings)

Translation: account-payment-14.0/account-payment-14.0-account_cash_discount_write_off
Translate-URL: https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_cash_discount_write_off/es/
@AnizR AnizR force-pushed the zra-16.0-mig-account_cash_discount_write_off branch 3 times, most recently from 9ed0a9f to 2a67c47 Compare February 5, 2024 14:01
@AnizR AnizR marked this pull request as ready for review February 5, 2024 14:14
@AnizR AnizR force-pushed the zra-16.0-mig-account_cash_discount_write_off branch from 2a67c47 to 28647b3 Compare February 13, 2024 14:17
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants