Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5387 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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:


 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
1616
1
thg 3 23
5354
1
thg 10 22
11517
7
thg 1 22
19002
1
thg 1 24
15261