account_payment : cannot pay a customer refund
Bug #1275478 reported by
Alexis de Lattre
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Here is the scenario to reproduce the bug :
1) Connect to the runbot of OpenERP version 7.0
2) Create a new Customer Refund :
Partner : Vauxoo
Add 1 refund line with product "HDD SH1"
3) Validate the Customer Refund
4) Create a new Payment Order
Payment Mode : "Direct Payment"
5) On the new Payment Order, click on the button "Select Invoices to Pay"
Click on "Search" then "Add"
=> It doesn't propose to select the Customer Refund we just created for Vauxoo.
This is a bug : we need to be able to pay a customer refund.
The attached patch fixes the bug.
Related branches
lp:~banking-addons-drivers/banking-addons/direct-debit-refactoring-fosdem2
- Holger Brunn (Therp): Approve (code review)
- Yannick Vaucher @ Camptocamp: Approve (code review, no tests)
- Stefan Rijnhart (Opener): Approve
- Stéphane Bidoul (Acsone) (community): Needs Resubmitting
- Raphaël Valyi - http://www.akretion.com: Pending requested
-
Diff: 792 lines (+314/-140)27 files modifiedaccount_banking_pain_base/banking_export_pain.py (+1/-1)
account_banking_payment/__openerp__.py (+1/-3)
account_banking_payment/model/__init__.py (+0/-1)
account_banking_payment/model/account_payment.py (+0/-9)
account_banking_payment/model/payment_mode.py (+0/-4)
account_banking_payment/model/payment_mode_type.py (+0/-41)
account_banking_payment/model/payment_order_create.py (+44/-0)
account_banking_payment/view/payment_mode.xml (+0/-1)
account_banking_payment_export/__openerp__.py (+20/-4)
account_banking_payment_export/demo/banking_demo.xml (+43/-0)
account_banking_payment_export/model/__init__.py (+2/-1)
account_banking_payment_export/model/account_move_line.py (+98/-0)
account_banking_payment_export/model/account_payment.py (+13/-1)
account_banking_payment_export/model/payment_mode.py (+4/-0)
account_banking_payment_export/model/payment_mode_type.py (+11/-3)
account_banking_payment_export/model/payment_order_create.py (+0/-58)
account_banking_sepa_credit_transfer/__openerp__.py (+1/-0)
account_banking_sepa_credit_transfer/sepa_credit_transfer_demo.xml (+15/-0)
account_banking_sepa_direct_debit/__openerp__.py (+1/-0)
account_banking_sepa_direct_debit/data/payment_type_sdd.xml (+3/-5)
account_banking_sepa_direct_debit/sdd_mandate_view.xml (+1/-1)
account_banking_sepa_direct_debit/sepa_direct_debit_demo.xml (+27/-0)
account_banking_tests/__openerp__.py (+0/-1)
account_direct_debit/__openerp__.py (+3/-1)
account_direct_debit/model/account_move_line.py (+3/-5)
account_direct_debit/view/payment_mode.xml (+20/-0)
account_direct_debit/view/payment_mode_type.xml (+3/-0)
To post a comment you must log in.
@Alexis, do you plan to propose this as a pull request to odoo?