documentation/content/developer
chyde-clearwater 3e78ec5467 [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#5135

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