The proposal to merge 
lp:~openerp-dev/openobject-addons/trunk-opw-577753-port-rma into 
lp:openobject-addons has been updated.

Description changed to:

Hello,

Fixed the issue of Phantom sets in valuation of components.

to reproduce:
* Create 3 product lets say:
  product 101011 cost price: 12.12  
  product 101005 "" : 6.38
  product 101008 "" : 2.87
  And for Product 101011 the Suuply Method = Manufacture

* Product config:
  Costing Method: Average
  Inventory Valuation: Real Time
* BOM
  Product 101011(BOM Type: Sets / Phantom)
  Product 101005 and 101008 as component.

* create a sale order with one line:
   - product 101011 (qty=1)
* "compute" and "confirm" that sale order
* in warehouse, delivery orders:
   - check availability
   - process
   - validate
* accounting / chart of accounts -> choose "All Entries"
   - edit account "330000"
-> you'll see that for this sale, there are 2 lines:
   - product 101005: credit = 12.12
   - product 101008: credit = 24.24

The credit values takes the price of product 101011 instead of taking
their price for their corresponding product (101005 or 101008).

The journal items should be:
   - product 101005: credit = 6.38
   - product 101008: credit = 5.74 (2.87*2)

With the reference of Maintenance case: 577753

Kindly review it.

Thanks

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577753-port-rma/+merge/138962
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577753-port-rma/+merge/138962
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-opw-577753-port-rma.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to