in odoo 8
instance.web.client_actions.add( 'petstore.homepage', 'instance.oepetstore.HomePage');
how to write the same client action in odoo 9
in odoo 8
instance.web.client_actions.add( 'petstore.homepage', 'instance.oepetstore.HomePage');
how to write the same client action in odoo 9
In Odoo 9 you could do it like this
var core = require('web.core');
var Widget = require('web.Widget');
var petstore_homepage = Widget.extend({});
core.action_registry.add("petstore.homepage", petstore_homepage);Thanks Axel .....!
Did you get this to work in Odoo v9? Care to share the petstore.js file?
I've tried lots of things and still get the:
Could not find client action
'petstore.homepage'
error
Thank you
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
0
aug. 22
|
6590 | |||
|
3
feb. 25
|
6571 | |||
|
1
jun. 23
|
3857 | |||
|
1
maj 23
|
3773 | |||
|
1
okt. 22
|
6104 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.