İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3601 Görünümler

 <form string="Test Form" version="7.0">
                      <header>
                          <div style="float:left" class="oe_button_box oe_left">
                    <button name="material_send" class="oe_highligh" type="workflow" string="Send" states="send" />
                    <button name="material_approved" string="For Approval" states="approved"  />
                    <button name="material_recived" string="Recived" states="recived"/>
                       </div>          
                     </header>

Avatar
Vazgeç
Üretici

just the buttons are invisible.

Üretici

Actually i solve the problem. The problem was because of the states i used currently the state was on new and all buttons were invisible. Now i corrected it by deleting the state fields or to see a single button i start from new state.

En İyi Yanıt

Could be so much. Do you see anything else in that form? Was it included in the __openerp__.py file? What object is it used on? Does the object have a workflow? etc. etc.

Avatar
Vazgeç
En İyi Yanıt

Do you have the state field in the view?  If not, you won't see any of the buttons as they need to be shown only on certain states.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eki 23
3882
0
Ara 19
2561
1
Ağu 24
1874
1
Oca 24
14301
0
Eki 21
2010