Skip to Content
Menu
This question has been flagged

The title is probably pretty confusing, but my issue is that I have a journal entry done from payroll.
Journal was done manually

I have two account lines.
1. Salaries payables for 10.00 0.00
2. Bank for 0.00 10.00

I have two bank account, both have exactly the same settings or so I believe.
I used the first bank account for the payment, but when reconciling the bank statement for the 1st bank, I am unable to find the journal item to reconcile.
I went back to cancel the entry, and post it with second bank account instead, and it shows on bank statement for the 1st bank.

I have no idea why is this happening when both bank accounts are set as "Bank and Cash"

It also seems that whenever I use the first bank account, the journal items are already reconciled.
When I use second bank account, it shows as an unreconcile entry.

My conclusion is, I believe whenever I post with the first bank, it auto reconcile or it doesn't allow reconciliation. Is there a hidden setting elsewhere that would cause this?

Avatar
Discard
Best Answer
Hi
Can you please check whether you have selected the "Post At Bank Reconciliation". 
To check this first Activate the developer mode and go to 
Accounting -> Configuration -> Journals-> select the journal 
and in advance setting tab you can find this option.


Avatar
Discard
Author

Hi, Thanks for the quick reply, but I don't seem to find this option at all on my journal advance settings. I tried with developer mode as well.

On Advanced Settings, I see Control-Access, Miscellaneous & Accounting App Options and none of them has anything about Post at Bank. Am I missing a module?

I have checked in runbot too.. there too available. are you using and third-party apps?

Whenever you create a new journal in developer mode, if you select the type bank then you can find this option in the 3rd tab Accounting App Options,

Pls, note this option is available only for the journal type Bank.

Author

I am currently using v11 community edition and I'm running accountant module with the technical settings checkbox.

Yes, I've also selected bank and I do find the Accounting App Options, just not the "Post at Bank" option.

I've even check the form view, and it doesn't show any fields being invisible in it under "Accounting App Options"

Author

Actually I did download a third-party app previously for bank statements

"bank_reconciliation" this was actually from your group as well and it was perfect for the way I wanted to reconcile

I reconciled the same bank I'm currently having issue with through the new method

but there was an issue with it, I was unable to create any payments as an error pops up

Traceback (most recent call last):

File "/opt/odoo/odoo11/odoo/models.py", line 4390, in ensure_one

_id, = self._ids

ValueError: too many values to unpack (expected 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/opt/odoo/odoo11/odoo/http.py", line 651, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/odoo11/odoo/http.py", line 310, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "/opt/odoo/odoo11/odoo/tools/pycompat.py", line 87, in reraise

raise value

File "/opt/odoo/odoo11/odoo/http.py", line 693, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/odoo11/odoo/http.py", line 342, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/odoo11/odoo/service/model.py", line 97, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/odoo11/odoo/http.py", line 335, in checked_call

result = self.endpoint(*a, **kw)

File "/opt/odoo/odoo11/odoo/http.py", line 937, in __call__

return self.method(*args, **kw)

File "/opt/odoo/odoo11/odoo/http.py", line 515, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/odoo11/addons/web/controllers/main.py", line 938, in call_button

action = self._call_kw(model, method, args, {})

File "/opt/odoo/odoo11/addons/web/controllers/main.py", line 926, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/opt/odoo/odoo11/odoo/api.py", line 689, in call_kw

return call_kw_multi(method, model, args, kwargs)

File "/opt/odoo/odoo11/odoo/api.py", line 680, in call_kw_multi

result = method(recs, *args, **kwargs)

File "/opt/odoo/odoo11/addons/account/models/account_payment.py", line 519, in post

move = rec._create_payment_entry(amount)

File "/opt/odoo/odoo11/addons/account/models/account_payment.py", line 629, in _create_payment_entry

self.invoice_ids.register_payment(counterpart_aml)

File "/opt/odoo/odoo11/addons/account/models/account_invoice.py", line 922, in register_payment

return (line_to_reconcile + payment_line).reconcile(writeoff_acc_id, writeoff_journal_id)

File "/opt/odoo/odoo11/addons/hr_expense/models/account_move_line.py", line 15, in reconcile

res = super(AccountMoveLine, self).reconcile(writeoff_acc_id=writeoff_acc_id, writeoff_journal_id=writeoff_journal_id)

File "/opt/odoo/odoo11/addons/account/models/account_move.py", line 1067, in reconcile

remaining_moves = self.auto_reconcile_lines()

File "/opt/odoo/odoo11/addons/account/models/account_move.py", line 1035, in auto_reconcile_lines

'currency_id': currency,

File "/opt/odoo/odoo11/addons/account/models/account_move.py", line 1913, in create

res._compute_partial_lines()

File "/opt/odoo/odoo11/addons/account/models/account_move.py", line 1893, in _compute_partial_lines

'exchange_move_id': exchange_move_id,

File "/opt/odoo/odoo11/odoo/models.py", line 3394, in create

record = self.browse(self._create(old_vals))

File "/opt/odoo/odoo11/odoo/models.py", line 3541, in _create

field.write(self.with_context(rel_context), vals[name], create=True)

File "/opt/odoo/odoo11/odoo/fields.py", line 2306, in write

comodel.browse(act[2]).write({inverse: record.id})

File "/opt/odoo/odoo11/addons/bank_reconciliation/models/account_move_line.py", line 15, in write

if self.payment_id and self.payment_id.state == 'reconciled':

File "/opt/odoo/odoo11/odoo/fields.py", line 937, in __get__

record.ensure_one()

File "/opt/odoo/odoo11/odoo/models.py", line 4393, in ensure_one

raise ValueError("Expected singleton: %s" % self)

ValueError: Expected singleton: account.move.line(66490, 85695)

Best Answer

i have the same problem , is there an issue ?

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
82
2
Apr 21
1699
0
May 20
1358
2
Jul 18
4233
0
Mar 18
1972