odoo/addons/delivery
Goffin Simon 965024902d [FIX] delivery: Invoice line for delivery method
Steps to reproduce:

1. Activate the following options
** Settings > Warehouse > Products > Manage different units of measure for products
** Settings > Accounting > Accounting & Finance > Analytic accouting
2. Desactivate the following option
** Settings > Accounting > Analytic accouting > Sale > Use multiple analytic accounts on sales
3. Create a Sale order
** Add 2 qty of the product iMac
** Add in quote the delivery method "Normal Delivery Charges" and set 2 qty
** Set an analytic account under Contract/Analytic
** Set the field Create Invoice to "On delivery Order"
4. Deliver only 1 quantity of the iMac and then create the invoice
5. Deliver the last quantity of the iMac and then create the invoice

Behavior before the fix:
The first invoice contains 2 qty of the Transport
The second invoice contains 1 qty of the Transport, has no analytic account set, has no UOM set

Behavior after the fix:
The first invoice contains 2 qty of the Transport
The second invoice contains 0 qty of the Transport because it has already been invoiced

Closed #12644

opw:682284
2016-07-11 14:30:16 +02:00
..
i18n [I18N] Update translation terms from Transifex 2016-07-10 03:01:32 +02:00
security [FIX] delivery: grant stock workers permission to list carriers 2015-07-06 17:09:10 +02:00
static/img [IMP] Backport one feature from website: this feature allows to specify a file 2014-01-09 16:45:50 +01:00
test [ADD] sale, delivery: tests for sales prepaid flow 2015-05-06 17:29:37 +02:00
views [ADD] Shipping report extension 2014-03-18 13:51:54 +01:00
__init__.py [IMP] Delivery module report implementation in the existing picking report 2014-03-18 13:18:23 +01:00
__openerp__.py [ADD] sale, delivery: tests for sales prepaid flow 2015-05-06 17:29:37 +02:00
delivery.py [FIX] delivery: conversion rate according to the date 2015-09-03 11:35:24 +02:00
delivery_data.xml [IMP]update __openerp__.py in all modules 2012-08-17 16:45:40 +05:30
delivery_demo.xml [MERGE] main trunk 2014-02-03 18:30:00 +01:00
delivery_view.xml [FIX] delivery stock_move form, weight alignment 2014-12-21 21:21:13 +01:00
partner.py [REF] *: change linked to server revision 4907. Removed deprecated 'view_load' attribute + removed duplicated first argument of property fields which is replaced with 'relation' argument in case where it is really needed (relational fields): indeed this first argument was totally useless for property of float type (for example). 2013-06-24 11:05:15 +02:00
partner_view.xml [IMP]Remove type field from the views 2012-08-08 17:49:50 +05:30
sale.py [FIX] sale_margin: Cost price in a SO line 2016-02-01 13:29:25 +01:00
stock.py [FIX] delivery: Invoice line for delivery method 2016-07-11 14:30:16 +02:00