Skip to content

Commit

Permalink
Merge pull request #73 from prakashpp/feature/task-7094
Browse files Browse the repository at this point in the history
Pull product cost price from magento #7094
  • Loading branch information
tarunbhardwaj committed Feb 24, 2015
2 parents eda8c08 + 694dabc commit d56aaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def extract_product_values_from_data(cls, product_data):
product_data.get('price') or
0.00
),
'cost_price': Decimal(product_data.get('price') or 0.00),
'cost_price': Decimal(product_data.get('cost') or 0.00),
'default_uom': website.default_uom.id,
'salable': True,
'sale_uom': website.default_uom.id,
Expand Down

0 comments on commit d56aaf6

Please sign in to comment.