965024902d
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 |
||
---|---|---|
.. | ||
i18n | ||
security | ||
static/img | ||
test | ||
views | ||
__init__.py | ||
__openerp__.py | ||
delivery.py | ||
delivery_data.xml | ||
delivery_demo.xml | ||
delivery_view.xml | ||
partner.py | ||
partner_view.xml | ||
sale.py | ||
stock.py |