Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] account_reconcile_oca currency exchange valuation handling issues #622

Open
lk-eska opened this issue Jan 14, 2024 · 9 comments · Fixed by #636
Open

[16.0] account_reconcile_oca currency exchange valuation handling issues #622

lk-eska opened this issue Jan 14, 2024 · 9 comments · Fixed by #636
Labels

Comments

@lk-eska
Copy link

lk-eska commented Jan 14, 2024

Module

account_reconcile_oca

Describe the bug

Currency exchange rates have trash (delete) icon and when clicked new currency exchange lines are created.

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior:

  1. Create an invoice other than the company currency and confirm
  2. Create an operation and try to reconcile it with the invoice created in 1
  3. Click on the trash icon at the end of the currency rate difference line
    or click on statement line
    or click on invoice line.
  4. If you try to delete these lines more pops up

Expected behavior
Currency exchange difference lines shouldn't have delete option and clicking on lines shouldn't bring new lines.

Additional context
There are screenshots of this bug here in this PR:

#587 (comment)

@etobella thanks

@lk-eska lk-eska added the bug label Jan 14, 2024
@lk-eska
Copy link
Author

lk-eska commented Jan 14, 2024

An additional problem related to currecy exchange gain/loss lines is that they are left when the invoice is removed.

I believe it is another side-effect of the same problem.

@etobella
Copy link
Member

Can you propose a PR fixing it?

@anajuaristi
Copy link

Hi @etobella
We are experiencing same issue. The problem is that the issue is blocking the ability of reconcile several invoices. We have no idea how to fix it so... maybe you would be interesed in sending us a quotation?
If yes, we could contact by email or phone.
Thank you!!

@lk-eska
Copy link
Author

lk-eska commented Mar 8, 2024

@etobella #636 solves this problem.

There are further problems:

  1. there is no way to edit the bank statement line -> we added tree views and it works good. we can send PR for this.
  2. it gets strange when some lines are deleted. for example when invoice is deleted it becomes a seperate line instead of merging into bank temporary account, foreign currency adjustment line remains there. It is wrong until you click reset reconciliation. -> this needs to be handled.
  3. amount in currency in the bank statement line is shown in company currency (this is the same in enterprise so i assume this is a common problem but it would be good to fix this)
  4. Currency and amount currency selection on Manual Operation screen is necessary.

I can send detailed issues or pull requests. Let me know @etobella

@etobella
Copy link
Member

etobella commented Mar 8, 2024

A PR would be awesome....

What are you talking about deletion?

@lk-eska
Copy link
Author

lk-eska commented Mar 11, 2024

Here's the PR for listing and editing statement lines: #637

@etobella

@lk-eska
Copy link
Author

lk-eska commented Mar 11, 2024

There are few issues when deleting.

image

102003 -> bank
120000 -> invoice
656000 -> currency exchange
102999 -> temporary account

  1. when invoice is deleted, currency exchange line remains there. shouldn't it be removed?
    image

  2. when currency exchange line is deleted, it sometimes create a new line with temporary account. see below:
    image

see the last line. this doesn't always happen, try a few times.

Another issue is that amount currency is actually €120 but it shows 3720₺ in amount in currency. see below:

image

This is also the same in enterprise.

@lk-eska
Copy link
Author

lk-eska commented Mar 11, 2024

Finally these fields are required IMO:

#612

@lk-eska
Copy link
Author

lk-eska commented Mar 23, 2024

Should we close this issue or keep it to follow these: #622 (comment)

@etobella

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants