This question has been flagged
5 Replies
3737 Views

Dear Contributors, 

Can you please suggest me with regards to customising module from command line? When I check try "odoo.py scaffold test addons" command . An error occurs "odoo.py command not found." Please let me know your suggestion on it.

Thank you for your time!

Regards,

Radhika

Avatar
Discard

Radhika are you in the correct folder and is the file odoo.py in this folder? Sounds like you are trying to execute this in the wrong location or for the wrong filename. Please add a printscreen too! This way we can help you better.

Hi Yenthe,

Thank you for the reply.
I am new to Odoo v8.0 not sure how to create module. If you have any instructions that be great. I might be wrong in the way I am working it out. Any suggestions would be appreciated.

Please find the attached screenshot.

Thank you for your time!

Best regards,
Radhika

On 31 December 2014 at 19:59, Yenthe <yenthespam@gmail.com> wrote:

Radhika are you in the correct folder and is the file odoo.py in this folder? Sounds like you are trying to execute this in the wrong location or for the wrong filename. Please add a printscreen too! This way we can help you better.

--
Yenthe
Sent by Odoo S.A. using Odoo about Forum Post How to create module and customise to add fields?

Best Answer

@Radhika

Here you go!

from this link you will find all the odoo help, Click here

Module creation link : Click Here

Regards,

Anil.

 

Avatar
Discard
Best Answer

You are missing ./ in command. Go to odoo.py directory, execute as ./odoo.py

Avatar
Discard
Best Answer

check this link: try that Exercise Module creation

https://www.odoo.com/documentation/8.0/howtos/backend.html#module-structure

Avatar
Discard
Best Answer

Try this with ubuntu terminal

> cd /opt/odoo/       ==> odoo working directory
> ./odoo.py scaffold sample /opt/odoo/addons
 

Here sample is MODULE TECHNICAL NAME

Avatar
Discard
Author Best Answer

Thank you all for the suggestion(s) and links provided. 

Avatar
Discard