Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3712 Переглядів

 <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>

Аватар
Відмінити
Автор

just the buttons are invisible.

Автор

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.

Найкраща відповідь

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.

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
жовт. 23
4024
0
груд. 19
2618
1
серп. 24
1995
1
січ. 24
14380
0
жовт. 21
2078