From 3594c07ae1a323d86841a6687504ce8166b0cfc4 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sun, 29 Mar 2020 05:05:22 +0000 Subject: [PATCH] [UPD] README.rst --- partner_identification/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_identification/static/description/index.html b/partner_identification/static/description/index.html index e168176f0..9cd9293a7 100644 --- a/partner_identification/static/description/index.html +++ b/partner_identification/static/description/index.html @@ -407,7 +407,7 @@ For example, we create a category ‘Driver License’:

Optional python code called to validate ID numbers of this ID type. This functionality can be overridden by setting id_no_validate to True in the context, such as:

-partner.with_context(id_no_validate=True).write({
+partner.with_context(id_no_validate=True).write({
    'name': 'Bad Value',
    'category_id': self.env.ref('id_category_only_numerics').id,
 })