[7.0][addons] via "order lines to invoice", payment terms from sale order should be chosen instead of customer's payment terms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Hello,
Via "order lines to invoice", payment terms from sale order should be chosen instead of customer's payment terms
Steps to reproduce :
1) create db with demo data
2) Install sale and account addons
3) In Settings>
4) Choose a customer (e.g. Camptocamp), in Accounting tab, the customer Payment Term is set to "30 Days End of Month".
5) Create a sale order with this customer, in Other Information tab, set the Payment Term field with a different value, e. g. "Immediate Payment"
6) Confirm the sale order.
7) Via Invoicing>Order lines to invoice, find a fresh created sale order line and generate an invoice.
8) The generated invoice takes customer payment term instead of sale's payment term.
Romain
Related branches
- Naresh(OpenERP): Pending requested
-
Diff: 15 lines (+1/-4)1 file modifiedsale/wizard/sale_line_invoice.py (+1/-4)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Hi Romain,
I agree, payment term on invoice should be choosen from the sales order itself when you invoice sales line, and not from the customer. I could reproduce it for 7.0 and 6.0 and trunk.
Regards