跳至內容
選單
此問題已被標幟
1 回覆
5378 瀏覽次數

This is an example of what my Customer Invoices look like:


頭像
捨棄
最佳答案

You can move the widget outside of the group that is formatted to display narrow and on the right hand side.


Create your own ir.ui.view like this:



Be sure to choose the first  account.invoice.form view in the Inherited View field.

XML code:

<data>

<field name="outstanding_credits_debits_widget" position="replace"/>

<group class="oe_subtotal_footer oe_right" position="after">
  <group>
    <field name="outstanding_credits_debits_widget" colspan="2"
nolabel="1" widget="payment"
attrs="{'invisible': [('state', 'not in', 'open')]}"/>
  </group>
</group>

</data>


Your Invoices will now look something like this:


 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 25
1608
1
3月 23
5338
1
10月 22
11511
7
1月 22
18989
1
1月 24
15247