-
-
Notifications
You must be signed in to change notification settings - Fork 435
[13.0][MIG] account_cash_discount modules #334
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
Conversation
fa84b31
to
658bf9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (code review only).
Could you please check why runbot is red ?
Do you know |
658bf9e
to
ff1c4a3
Compare
travis is fixed now |
Hi, did you expect to backport it to v12 ? |
Not at the moment, but I think it shouldn't be so hard to migrate this from 10.0 to 12.0 |
Thank for your feedback, I tested V13 module, I probably miss something into the configuration. Company discount and payment term are both configured. When I try to add payment from the invoice, The amount proposed is always the invoice one, not discounted. Also if not already embeded, is it envisageable to add the value of the discount into a comment on the invoice, like "cash discount of xxx€ if paid before end date xx/xx/xx" |
56443de
to
d170dbd
Compare
cross referencing account_financial_discount that covers a similar scope: OCA/account-financial-tools#1040 |
functional testing OK |
d170dbd
to
ea5696b
Compare
ea5696b
to
2b2a11e
Compare
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-334-by-dreispt-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
[ADD] Allow to configure discount options directly on the payment term [ADD] Add account cash discount payment module [MIG] account_cash_discount_payment migration. Also removed force_discount_amount from the account.invoice [ADD] Allow to tell if a payment line is paid using the discount or not. Keep the original amount in order to compute it again
…iscount) from a payment order
[ADD] allow to toggle the discount on the payment order even if the discount due date is in the past [FIX] force to load discount payment term options when the partner changes
…of invoices (add sum and optional)
db66bef
to
9abb088
Compare
When the payment line create the account.move.line, tag_ids are not filled and so audit_tax still empty too. Fix + adapt unit test
9abb088
to
444ae4d
Compare
@sbidoul @adrienpeiffer Is it possible to review and merge this PR please? Thanks! (I see you in contributors) |
Can you review and merge please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR has the |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 6091d59. Thanks a lot for contributing to OCA. ❤️ |
Migration of: