Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7a4a71e

Browse files
committedApr 16, 2024··
[FIX] delivery_auto_refresh: dynamic carrier line tests
1 parent 3f1ee04 commit 7a4a71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎delivery_auto_refresh/tests/test_delivery_auto_refresh.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def test_auto_refresh_so_and_unlink_line(self):
303303
self.assertFalse(delivery_line.exists())
304304

305305
def test_auto_add_delivery_line_add_service(self):
306-
self.env["ir.config_parameter"].sudo().set_param(self.param_name1, 1)
306+
self.env["ir.config_parameter"].sudo().set_param(self.auto_add_delivery_line, 1)
307307
service = self.env["product.product"].create(
308308
{"name": "Service Test", "type": "service"}
309309
)

0 commit comments

Comments
 (0)
Please sign in to comment.