Odoo-bin give Unexpected token “Scaffold” in expression or statement in PowerShell

Kevin Node
1 min readJun 6, 2019

--

Photo by Markus Spiske on Unsplash

This is my first time experience while learning odoo and basically i just type the documentation but it already give me an error “Odoo-bin give Unexpected token “Scaffold” in expression or statement in PowerShell” which is ruined my mood for couple days, then i decided to ask community at stackoverflow, and they answered my question, u guys can check the link for the detailed answer.

What i missed is just “&” mark in my powershell command, so it has to be something like this :

& "c:\Program Files (x86)\Odoo 12.0\python\python.exe" "C:\Program Files (x86)\Odoo 12.0\server\odoo-bin" scaffold custom_someownmodule "C:\Program Files (x86)\Odoo 12.0\server\odoo\addons"

the “&” mean to command powershell to execute some .exe which is explained in my stackoverflow thread.

--

--