تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3692 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أكتوبر 23
3976
0
ديسمبر 19
2612
1
أغسطس 24
1917
1
يناير 24
14358
0
أكتوبر 21
2067