documentation/content/developer
chyde-clearwater 166cf797b7 [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#5136

X-original-commit: f36c612d13
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-07-18 12:07:16 +02:00
..
howtos [MOV] accounting: restructuration of the accounting documentation 2023-05-19 20:22:58 +02:00
reference [IMP] developer/views: add optional attribute for fields of list views 2023-06-27 14:08:40 +02:00
tutorials [IMP] tutorials/getting_started: disambiguate example model name 2023-07-18 12:07:16 +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:15:46 +02:00
reference.rst [MOV] developer/cli: move "Command-line interface (CLI)" to the reference dir 2023-02-22 16:28:57 +01:00
tutorials.rst [ADD] extensions/cards: add an extension to implement cards 2023-02-28 11:05:57 +01:00