documentation/content/developer
chyde-clearwater 4c1c8d9592 [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#5139

X-original-commit: f36c612d13
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-07-18 12:12:15 +02:00
..
howtos [MOV] accounting: restructuration of the accounting documentation 2023-05-21 17:26:45 +02:00
reference [FW][ADD] rpc: Go examples 2023-07-14 15:41:19 +02:00
tutorials [IMP] tutorials/getting_started: disambiguate example model name 2023-07-18 12:12:15 +02:00
glossary.rst [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
howtos.rst [ADD] developer/howto: guide for theming 2023-05-12 10:50:51 +02:00
reference.rst [MOV] developer/cli: move "Command-line interface (CLI)" to the reference dir 2023-02-23 16:09:00 +01:00
tutorials.rst [IMP] developer/tutorials: separate js framework tutorial in two parts 2023-04-25 10:22:49 +02:00