#6855 (How to account for "keep the change" and future discounts (coupons))
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 4 Monate, 2 Wochen ago von Sharif Mehedi about #6855 (How to account for "keep the change" and future discounts (coupons)) : Thanks for approving this.
- 4 Monate, 2 Wochen ago von Luc Saffre about #6855 (How to account for "keep the change" and future discounts (coupons)) : Yes, if a simple checkbox "keep the change" is enough, then we don't need a new db model. You don't need to know another journal, the change to keep would just go into another movement on that voucher, into an account CommonAccounts.roundings.get_objects().
- 4 Monate, 2 Wochen ago von Sharif Mehedi Antwort auf Luc Saffre about #6855 (How to account for "keep the change" and future discounts (coupons)) : I will wait for your opinion.
- 4 Monate, 2 Wochen ago von Sharif Mehedi Antwort auf Luc Saffre about #6855 (How to account for "keep the change" and future discounts (coupons)) : Thinking about it more, I think we can simply do it with a boolean field "Apply rounding" on the CashInvoice model, and when this field is set to true, it should put the remaining amount in to Roundings account. But we still need a way to figure out the account and the journal, for the account, we c...
- 4 Monate, 2 Wochen ago von Luc Saffre about #6855 (How to account for "keep the change" and future discounts (coupons)) (2 Antworten) : I suggest a new model "PaymentDifference" inherits from BabelDesignated and adds a FK to accounts.Account. And a pointer to PaymentDifferenc on a sales note. One row is "Rounding" and points to an account "Roundings". One row of PaymentDiffence is "Partial payment" and has the PD.account pointer emp...
- 4 Monate, 2 Wochen ago von Sharif Mehedi about #6855 (How to account for "keep the change" and future discounts (coupons)) : Created new Ticket #6855 (How to account for "keep the change" and future discounts (coupons)).