Commit d49bc463 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: apply tax amount only if the resource is taxable

parent 6d39138e
...@@ -172,8 +172,8 @@ class TestSlapOSVirtualMasterScenarioMixin(DefaultScenarioMixin): ...@@ -172,8 +172,8 @@ class TestSlapOSVirtualMasterScenarioMixin(DefaultScenarioMixin):
trade_phase="slapos/tax", trade_phase="slapos/tax",
price=0.2, price=0.2,
quantity=1.0, quantity=1.0,
membership_criterion_base_category=('price_currency',), membership_criterion_base_category=('price_currency', 'base_contribution'),
membership_criterion_category=('price_currency/%s' % currency.getRelativeUrl(),) membership_criterion_category=('price_currency/%s' % currency.getRelativeUrl(), 'base_contribution/base_amount/invoicing/taxable')
) )
sale_trade_condition.validate() sale_trade_condition.validate()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment