summaryrefslogtreecommitdiff
path: root/addons/test_website_slides_full
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-05-19 10:19:45 +0200
committerMartin Trigaux <mat@odoo.com>2020-05-26 15:50:11 +0200
commit4afa747fa1bc99e5626636541a2dabb22c7f22cd (patch)
tree4de41548363a800da127e6e988166ad825fcb1e2 /addons/test_website_slides_full
parent8f578637076d4b65de222aa092ce738391ce5260 (diff)
[IMP] *: make ir.property methods private
Should only interact with them via python code in a controlled environment, no direct call with RPC
Diffstat (limited to 'addons/test_website_slides_full')
-rw-r--r--addons/test_website_slides_full/tests/test_ui_wslides.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/test_website_slides_full/tests/test_ui_wslides.py b/addons/test_website_slides_full/tests/test_ui_wslides.py
index e8b45d55d7e..c3e999db7a8 100644
--- a/addons/test_website_slides_full/tests/test_ui_wslides.py
+++ b/addons/test_website_slides_full/tests/test_ui_wslides.py
@@ -41,8 +41,8 @@ class TestUi(TestUICommon):
})
Property = self.env['ir.property']
- Property.set_default('property_account_receivable_id', 'res.partner', a_recv, self.env.company)
- Property.set_default('property_account_payable_id', 'res.partner', a_pay, self.env.company)
+ Property._set_default('property_account_receivable_id', 'res.partner', a_recv, self.env.company)
+ Property._set_default('property_account_payable_id', 'res.partner', a_pay, self.env.company)
product_course_channel_6 = self.env['product.product'].create({
'name': 'DIY Furniture Course',