Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
743 Weergaven

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).


Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
aug. 25
459
4
mei 25
2897
2
mei 25
6320
1
mrt. 25
1940
4
mrt. 25
4885