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

[15.0] [MIG] account_cash_discount_write_off: Migration to 15.0 #762

Open
wants to merge 22 commits into
base: 15.0
Choose a base branch
from

Conversation

bizzappdev
Copy link

Dependency MR for module account_cash_discount_payment #761

benwillig and others added 21 commits September 20, 2024 10:37
…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
@bizzappdev bizzappdev force-pushed the 15.0-mig-account_cash_discount_write_off-BAD branch from 192a9fa to 60b48b4 Compare September 26, 2024 05:56
@bizzappdev bizzappdev force-pushed the 15.0-mig-account_cash_discount_write_off-BAD branch from 60b48b4 to abfc706 Compare September 30, 2024 11:29
@bizzappdev bizzappdev marked this pull request as ready for review September 30, 2024 13:24
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.

8 participants