Skip to content

Commit

Permalink
wip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasProgrammer committed Aug 14, 2023
1 parent 0bc816b commit d936705
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ def test_commission_domain(self):
demo_commission_rules_restrict = self.env.ref(
"sale_commission_product_criteria_domain.demo_commission_rules_restrict"
)
self.env.ref("product.product_delivery_01")
self.env.ref("sale_commission_product_criteria.demo_commission_rules")
demo_commission_rules = self.env.ref("sale_commission_product_criteria.demo_commission_rules")
demo_commission = self.env.ref("sale_commission.demo_commission")
conf_chair_config_id = self.env.ref(
"product.product_product_11_product_template"
Expand Down Expand Up @@ -157,7 +156,7 @@ def test_commission_domain(self):
)
self.assertFalse(res)

# self.partner.agent_ids.commission_id = demo_commission_rules.id
self.partner.agent_ids.commission_id = demo_commission_rules.id
# computes was modified to consider new commission type: product_restricted
so = self._create_sale_order(self.product_6, self.partner)
so.recompute_lines_agents()
Expand Down

0 comments on commit d936705

Please sign in to comment.