documentation/content/developer
chyde-clearwater 3758cd5899 [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#5141

X-original-commit: f36c612d13
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-07-18 13:07:47 +02:00
..
howtos [MOV] accounting: restructuration of the accounting documentation 2023-05-22 11:43:14 +02:00
reference [FW][ADD] rpc: Go examples 2023-07-15 12:00:28 +02:00
tutorials [IMP] tutorials/getting_started: disambiguate example model name 2023-07-18 13:07:47 +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 08:17:09 +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 11:22:48 +02:00