openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20229
[Bug 1092022] Re: Partial ship product with UOS generate wrong Invoice
The problem seem to be about passing the uos conversion in some parts of
code. I have attached how I fix it. Please search for word "kittiu" to
see the change.
I am not sure it cover all cases, will leave to expert to help :).
Kitti U.
** Attachment added: "patch.zip"
https://bugs.launchpad.net/openobject-addons/+bug/1092022/+attachment/3465192/+files/patch.zip
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1092022
Title:
Partial ship product with UOS generate wrong Invoice
Status in OpenERP Addons (modules):
New
Bug description:
Selling and shipping partially (and gen Invoice for each ship) for normal product (without UOS) is OK.
But with product with UOS it generate wrong quanity in Invoice.
After fresh database install, give the following settings,
================================================
Sales -> Generate invoices after and based on delivery orders = YES
Sales -> Allow using different units of measures = YES
Warehouse -> Create and open the invoice when the user finish a delivery order = YES
Warehouse -> Invoice products in a different unit of measure than the sale order = YES
Now, the product will have UOS for setup. Let's set product "USB Adapter",
* Unit of Measure
** Unit of Sale = Dozen(s)
** Unit of Measure -> UOS Coeff = 0.833
Step to Error
===========
1. Sales Order, buy USB Adapter = 12 Unit (UOM) --> 1 Dozen (UOS).
2. Confirm Order and Deliver Product only half, USB Adapter = 6 Unit
3. OpenERP will popup a Create Invoice Confirm dialog, click Create.
4. The Invoice line shows, 6 Dozens !!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1092022/+subscriptions
References