From 17c22d5dfe70ccd13c51bb3aef27a322d7b5e173 Mon Sep 17 00:00:00 2001 From: Jean-Charles Drubay Date: Tue, 14 May 2019 17:56:27 +0700 Subject: [PATCH] [FIX] fix indentation and improve example --- website/Contribution/CONTRIBUTING.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/Contribution/CONTRIBUTING.rst b/website/Contribution/CONTRIBUTING.rst index e506446..09a70d2 100644 --- a/website/Contribution/CONTRIBUTING.rst +++ b/website/Contribution/CONTRIBUTING.rst @@ -609,10 +609,10 @@ Idioms .. code-block:: python partner_id = fields.Many2one( - "res.partner", - "Partner", - "Required", - ) + comodel_name="res.partner", + required=True, + ondelete="restrict", + ) * When making a comma separated list, dict, tuple, ... with one element per line, append a comma to the last element. This makes it so the next element