Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
906 Widoki

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 25
1050
4
paź 25
3273
2
wrz 25
2069
4
wrz 25
7271
0
sie 25
1003