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

Hi in payment account want add a commission amount and tax amount this my code 

def move_test(self):

 for rec in self: 

def move_test(self):

        for rec in self:

            balance_commission = rec.commission_amount

            list_val = []

            list_val.append((0,0,{

                'name': 'Internal Transfer',

                'debit': 0.0,

                'credit': balance_commission,

                'account_id' : rec.destination_account_id.id

))}

 Appear when  account receivable/payable  i get this Error

Journal Entry Draft Entry (* 272) is not valid. In order to proceed, the journal items must include one and only one receivable/payable account (with an exception of internal transfers).


アバター
破棄
関連投稿 返信 ビュー 活動
0
8月 25
446
4
5月 25
2878
2
5月 25
6315
1
3月 25
1935
4
3月 25
4883