Skip to content

Inconsistent naming of test_model between Getting started Ch.4 and Ch.6 #5482

@dispread

Description

@dispread

In Ch.4 - Model fields we set the model name as test_model.

Later in Ch.6 - Actions we use test.model as the name for the model

If we use the code from Ch.6 with code from previous chapters it throws Invalid model name 'test.model' in action definition. and doesn't compile. However changing the xml res_model name to test_model resolved the issue.
I am still quite new to this so if I'm wrong lmk.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions