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

I am not sure how to track partner_id in accounting. My code:

from openerp import api, fields, models, _

class TwojStary(models.Model):
    _inherit = 'res.partner'
    bukcirra = fields.Monetary(string='Amount Due', currency_field='company_currency_id',
        related='account.invoice.partner_id.residual_company_signed', store=True, help="Remaining amount due in the currency of the company.")
This is wrong I guess:
related='account.invoice.partner_id.residual_company_signed'
アバター
破棄
最善の回答

Hi,

Seeing the help you have given for the field seems that you are looking to show the amount which has to be received from the customer.


By default itself, these fields are there in the Partner form.



To view this fields you have to activate the developer mode.


Thanks


アバター
破棄
著作者

I need residual_company_signed field as it holds the amount in the partner currency

関連投稿 返信 ビュー 活動
0
12月 16
3644
0
2月 16
3324
1
3月 24
1487
5
8月 20
16503
0
8月 18
5716