test with non-rounded values for diy-frame prices

This commit is contained in:
Martin
2016-11-08 14:47:32 +01:00
parent 1f75cb9cc5
commit 4affc08eae
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -149,12 +149,12 @@ def canvas_frame_price(width, height, stock_price, market, additional_price=None
return price
def old_canvas_diy_frame_price(width, height, market, reseller=None, inc_vat=True):
def old_canvas_diy_frame_price(width, height, market, reseller=None, rounded=True, inc_vat=True):
# todo: when product models are in place we should use stockproduct ""Do it yourself frame""
# instead of hardcoded values
stock_price = 1.61084
additional_price = 94.750000
return canvas_frame_price(width, height, stock_price, market, additional_price, reseller=reseller, rounded=True, inc_vat=inc_vat)
return canvas_frame_price(width, height, stock_price, market, additional_price, reseller=reseller, rounded=rounded, inc_vat=inc_vat)
def old_canvas_price(width, height, material, market, framed=True, designer=None, reseller=None, inc_vat=True):