コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
8005 ビュー

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
2月 23
4447
2
3月 23
10010
2
3月 23
2433
2
5月 22
4379
0
3月 22
1576