I try to make a custom authentication module.
So i took inspiration(like copy paste and rename) from auth_oauth module in the addons folder.
Next I wrote a controller in
I have also add the import in
>> import controllers
>> import main
and in the __openerp__.py
i add this
The auth_oauth module is not installed.
It's like all the function in instance.web.Login.include is never included during the process.
it's realy easy but I try to find an answer too far away,
I juste give se same name in
openerp.Module = blabla
and the name of the folder which contains the module,
Both does have the same name because in the function with call the start, the folder name is given to the openerp var....
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/5/14, 10:39 AM|
|Seen: 1041 times|
|Last updated: 3/16/15, 8:10 AM|