diff options
| author | wan <wan@odoo.com> | 2019-03-28 09:12:00 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-04-02 14:45:04 +0000 |
| commit | 1fac092c35bdaf87905d2c10f93a735e87ee0532 (patch) | |
| tree | 339b975efaad47a46e52c2180f9d3a1b145e3a8e /setup/package.dfsrc | |
| parent | 1774fcf778c877265da5072c569dd62cbda9c0fe (diff) | |
[IMP] account,pos: better distinction between customer payments
Task 1934667
1. That's the partner type (and not the payment type) that should define if a payment is a customer or a supplier payment :
a. When the partner type on the payment is "customer", the payment should be considered as a customer payment
(and thus be visible from the menu customer payments)
b. When the partner type on the payment is "supplier", the payment should be considered as a supplier payment
(and thus be visible from the menu supplier payments)
2. The PoS should only create customer payments (you never pay suppliers through the PoS)
The payment created should be with a partner type "Customer"
But the partner field can stay empty if the customer wasn't set on the PoS Order
3. When I change the payment type while creating a payment from scratch, it shouldn't change the partner type
Example : I'm creating a payment for a reimbursement, I'll create it from the customer payments menu (as I'm paying a customer), I'll tick the payment type "Send money"
I don't expect the partner type to change to vendor.
closes odoo/odoo#32201
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'setup/package.dfsrc')
0 files changed, 0 insertions, 0 deletions
