Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
8026 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 23
4472
2
มี.ค. 23
10036
Cacher le bouton "créer" d'une liste แก้ไขแล้ว
2
มี.ค. 23
2446
Add class to button from function แก้ไขแล้ว
2
พ.ค. 22
4409
0
มี.ค. 22
1588