acsone / bobtemplates.odoo

A set of mr.bob templates to use when developing Odoo addons.
GNU Lesser General Public License v3.0
48 stars 47 forks source link

The creation model command is not working properly. #78

Open beneditomonteiro opened 2 months ago

beneditomonteiro commented 2 months ago

Hello All,

Testing bobtemplates.odoo I was expecting to be prompted to answer the following questions, but not.. I received different questions.

Please help.

Regards,

EXPECTED QUESTIONS: Step 2: Create a Model Next, navigate to your newly created addon directory and run:

mrbob bobtemplates.odoo:model This will prompt you for information about your new model:

What is the name of your model? Enter a singular noun describing your model (e.g., "Book") What is the description of your model? Provide a brief description of what this model represents Do you want to add fields? Choose "y" to add fields to your model What is the name of the field? Enter the name of the field (e.g., "title") What is the description of the field? Provide a brief description of the field What is the field type? Choose an appropriate field type (e.g., "char") Do you want to add another field? Choose "y" to add more fields or "n" to finish

RECEIVED QUESTIONS: Welcome to mr.bob interactive mode. Before we generate directory structure, some questions need to be answered. Answer with a question mark to display help.

--> Odoo version (8|9|10|11|12|13|14) [14]: 16 --> Model name (dotted notation): my.module.adic.partner.bob --> Inherit [y]: y --> Form view [y]: y --> Search view [y]: y --> Tree view [y]: y --> Action and menu entry [y]: y

--> ACL [y]: y

--> Demo data [y]: n

--> Copyright holder name: Messiaz

--> Copyright year: 2024 my-module_bobtemplates.odoo.zip