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

I'm trying to display a header with buttons and statusbar, but the status bar appears in the next line of the butons, not in the same.

It's a similar error than here (you can see an image to understand better):
http://stackoverflow.com/questions/21908141/how-to-display-button-and-status-bar-items-in-line

Here's my header view code. Any sugestion?

<header>
                        <button name="action_button_quot_to_customer" states="0" string="Send to Customer" class="oe_highlight" type="object"/>
                        <button name="action_button_quot_to_draft" states="1" string="Review" type="object"/> 
                        <button name="action_button_quot_won" states="1" string="Won" class="oe_highlight" type="object"/>
                        <button name="action_button_quot_lost" states="1" string="Lost" class="oe_highlight" type="object"/> 
                        <field name="state" widget="statusbar"/>  
</header>

By the way, I just found it only happens in Chrome, it's OK in Firefox.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Solved it using a div inside the header, with all buttons and statusbar inside.

الصورة الرمزية
إهمال
أفضل إجابة

observe warehouse->Receive/Deliver By challan->Internal Moves, create watch the Form view. the status bar appears in the Same line of the butons.

 

الصورة الرمزية
إهمال
الكاتب

Yes, I know there are examples, I'm following them trying to do the same, but in my module the buttons and status bar don't show in same line.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
فبراير 23
4399
2
مارس 23
9925
2
مارس 23
2363
2
مايو 22
4337
0
مارس 22
1561