Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7195 Widoki

Hello, I have a custom module with a tree view from a custom object.

I defined only a tree view for this class, and when user clicks on any row, I want to display a wizard window.

The tree displays correctly, but nothing happends when I click on a row.

I have tried:

<record id="action_view_save_recount" model="ir.values">
    <field name="key2">tree_but_act</field>
    <field name="model">productstock.recount</field>
    <field name="name">Save product recount</field>
    <field name="value" eval="'ir.actions.wizard,%d'%productstock_view_recount"/>
    <field name="object" eval="True" />            
</record>

the id for the wizard form is "productstock_view_recount"

But nothing happends when I click on any row of the view. Can anyone help me to achieve this??

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

I have the same issue. Did you find any solution !!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
lis 24
13173
0
sty 23
1997
1
cze 21
3683
2
lip 25
25779
3
kwi 25
4456