documentation/content/developer
chyde-clearwater f36c612d13 [IMP] tutorials/getting_started: disambiguate example model name
I removed the dot notation in the  "_name" variable for the example
model. AKA, "test.model" is now named "test_model".

Dot notation implies a data structure relationship between a <model> and
it's parent (or class etc) <test> (like test.model() or Test.model).
There is no relationship like this between a <test> and <model> - it's
just one thing: a <test model>.

The seeming "benefit" of the ORM translating dots to underscores doesn't
justify this naming convention.  Yes, I know it's a string, but still,
this seems confusing for newbies and adds unnecessary complexity (why
name the same thing differently in different places?)

closes odoo/documentation#5131

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-07-18 09:59:59 +02:00
..
howtos [MOV] developer/api/iap: move "In-App Purchase" to the howtos dir 2023-02-21 16:06:49 +01:00
reference [IMP] developer/views: add optional attribute for fields of list views 2023-06-27 11:02:18 +02:00
tutorials [IMP] tutorials/getting_started: disambiguate example model name 2023-07-18 09:59:59 +02:00
glossary.rst [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
howtos.rst [ADD] extensions/cards: add an extension to implement cards 2023-02-24 18:37:04 +01:00
reference.rst [MOV] developer/cli: move "Command-line interface (CLI)" to the reference dir 2023-02-21 16:06:50 +01:00
tutorials.rst [ADD] extensions/cards: add an extension to implement cards 2023-02-24 18:37:04 +01:00