[7.0][addons] via "order lines to invoice", payment terms from sale order should be chosen instead of customer's payment terms

Bug #1226630 reported by Romain Deheele - Camptocamp
6
This bug affects 1 person
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>Configuration>Sales : check "Generate invoices based on the sales order lines"
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

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

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

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Fixed in lp:~openerp-dev/openobject-addons/7.0-opw-598048-rha,
Revision 9475, <email address hidden>

Thanks for reporting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.