summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/tests
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/point_of_sale/tests
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/point_of_sale/tests')
-rw-r--r--addons/point_of_sale/tests/test_frontend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/tests/test_frontend.py b/addons/point_of_sale/tests/test_frontend.py
index 63807196588..69fff92983e 100644
--- a/addons/point_of_sale/tests/test_frontend.py
+++ b/addons/point_of_sale/tests/test_frontend.py
@@ -30,7 +30,7 @@ class TestPointOfSaleHttpCommon(odoo.tests.HttpCase):
'reconcile': True})
self.env.company.account_default_pos_receivable_account_id = account_receivable
- self.env['ir.property'].set_default(
+ self.env['ir.property']._set_default(
'property_account_receivable_id',
'res.partner',
account_receivable,