server-backend icon indicating copy to clipboard operation
server-backend copied to clipboard

[12.0][IMP] base_global_discount: add fixed discount selection

Open primes2h opened this issue 1 year ago • 6 comments

It adds fixed discount as global discount type.

See https://github.com/OCA/server-backend/pull/267 for v. 14.0.

primes2h avatar Jan 28 '24 13:01 primes2h

hello, Is it within this scope to add global discount amount either based on tax included/excluded base? Example with fix discount based on included TAX: 2046.45 before tax -900 discount 112.55 TAX 2159 Tax included -900 1259 after discount Thank you

ygol avatar Feb 06 '24 16:02 ygol

hello, Is it within this scope to add global discount amount either based on tax included/excluded base? Example with fix discount based on included TAX: 2046.45 before tax -900 discount 112.55 TAX 2159 Tax included -900 1259 after discount Thank you

Hello, fixed discounts don't work with subtotal when you have more than one invoice line. [*] When invoice lines are >= 2 you don't know how to proportionally distribute discount on the lines.

[*] with one line, fixed discount is covered by https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_fixed_discount

primes2h avatar Feb 06 '24 18:02 primes2h

[*] with one line, fixed discount is covered by https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_fixed_discount

I mean, with one or more lines.

primes2h avatar Feb 06 '24 23:02 primes2h

[*] with one line, fixed discount is covered by https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_fixed_discount

I mean, with one or more lines.

Thank you @primes2h

ygol avatar Feb 07 '24 07:02 ygol

[*] with one line, fixed discount is covered by https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_fixed_discount

I mean, with one or more lines.

Thank you @primes2h

You're welcome! Feel free to do a review if you want. ;-)

primes2h avatar Feb 12 '24 16:02 primes2h

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[bot] avatar Jul 28 '24 12:07 github-actions[bot]