From 731d0d85c28815e67264cbaef95b7b5fcb729a19 Mon Sep 17 00:00:00 2001 From: Raf Geens Date: Thu, 24 Feb 2022 15:57:25 +0000 Subject: [PATCH] [FIX] orm: string pattern for Reference wasn't correct In reality the separator is a comma instead of a dot as can be seen in the code a bit further below. closes odoo/odoo#85396 X-original-commit: 2a6e9f166d493aaefc006e949ab45e42311ac886 Signed-off-by: Xavier Morel (xmo) --- odoo/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/fields.py b/odoo/fields.py index 9a0f3330566..a20a566188c 100644 --- a/odoo/fields.py +++ b/odoo/fields.py @@ -2623,7 +2623,7 @@ class Reference(Selection): """ Pseudo-relational field (no FK in database). The field value is stored as a :class:`string ` following the pattern - ``"res_model.res_id"`` in database. + ``"res_model,res_id"`` in database. """ type = 'reference'