Hello Kitti Upariphutthiphong,

Thanks for your solution.but your solution is not work for all other cases 
.because it would take wrong active id for partial picking into invoice. so 
invoice is created for picking which was still not delivered . it should create 
invoice for picking which was done.
so pass backorder_id for partial picking to create invoice instead of active 
ids of picking,

 It has been fixed into https://code.launchpad.net/~openerp-dev
/openobject-addons/trunk-bug-1092022-cga with

 Revision ID:[email protected]
 Revision No: 8487

it will be merged soon into addons

Thanks





** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-1092022-cga

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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):
  Fix Committed

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to