Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
Payment terms are defined in the table account_payment_term (model account.payment.term)
Customers are defined in the table res_partner (model res.partner)
The payment terms for a Customer are defined in the table ir_property (ir.property)
Joining them together and pulling out what you want would involve SQL like this:
select res_partner.name, account_payment_term.name from res_partner,ir_property,account_payment_term where res_partner.id = right(ir_property.res_id,length(res_id)-12)::integer and right(ir_property.value_reference,length(value_reference)-21)::integer = account_payment_term.id and left(ir_property.value_reference,20) = 'account.payment.term'
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
3
4月 23
|
1757 | ||
|
3
7月 15
|
7640 | ||
|
0
4月 15
|
3191 | ||
|
0
12月 21
|
2082 | ||
|
6
8月 21
|
24767 |