documentation/content
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
..
administration Remove duplicate note 2023-07-12 22:28:11 +02:00
applications [DEL] MRP: Delete Alternative Work Centers 16.0 2023-07-13 23:24:36 +02:00
contributing [IMP] contributing: change gui abbreviation to lower case 2023-05-24 20:16:54 +02:00
developer [IMP] tutorials/getting_started: disambiguate example model name 2023-07-18 12:12:15 +02:00
legal [FIX] legal: fix broken PDF link 2023-06-20 08:48:46 +02:00
services/support [IMP] Support: Update What can I expect 2023-03-26 09:12:04 +02:00
administration.rst [IMP] upgrade: create new "upgrade" section in "install and maintain" 2021-10-15 11:45:07 +00:00
applications.rst [ADD] attendances: hr and attendances categories + hardware page 2023-03-29 21:45:52 +02:00
contributing.rst [IMP] contributing: list the ways to contribute to Odoo 2022-12-08 15:51:24 +01:00
developer.rst [MOV] developer/cli: move "Command-line interface (CLI)" to the reference dir 2023-02-23 16:09:00 +01:00
index.rst [IMP] *: introduce tables of contents in top-level app pages 2021-07-07 14:56:38 +02:00
last_build.rst [FIX] *: RST cleanup 2023-02-15 16:03:06 +01:00
legal.rst [IMP] documentation: legal page design 2022-12-08 12:31:09 +01:00