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

I am using the project module in Odoo v8 and billing using timesheets.

 

I would like to know how much each customer owes before I start a new task for them.


Is there a way to show the rrent cutotal amount receivable for each customer next to their name in the customer list?

Ảnh đại diện
Huỷ bỏ

Hi, In the many2one field of res.partner, you want to see the receivable amount along with the name ? Currently you can see the total receivable in partners form after activating the developer mode, You can add a new field for to display the amount, and in the on change of the partner you can write the amount into that field

Câu trả lời hay nhất

The name of the field you need to add is called credit.


You can work this out by activating Developer mode and hovering over the field on the Customer Form View:



So you would create a new view that inherits the existing Partner Tree View and add that field:

<field name="display_name" position="after">
<field name="credit"/>
</field>


You would then end up with something like this:


Ảnh đại diện
Huỷ bỏ

how to compute those Total Recieveable in compute fields?

not like this <field name="credit" sum="Total"/>.

I want to get the value of them not just a total display.

thanks in advance

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 21
1538
2
thg 2 20
4327
6
thg 10 19
13687
1
thg 9 15
5006
0
thg 3 15
5352