Account cash rounding must be company specific
There is the option for account cash rounding to enable special cash/amount rounding on invoices.
The problem is, the account.cash.rounding is global and not company specific (not multi company enabled).
But the selection af accounts will only list current active companies accounts.
Steps to reproduce
- setup multi company, min 2 companies
- install/enable Cash rounding
- create two different cash rounding settings, one for each company
- create a invoice in first company > you can select all cash roundings
What is the current bug behavior?
If you select the cash rounding on invoice and the account behind cash rounding is linked to second company, you get a access error.
What is the expected correct behavior?
Cash rounding must be multi company compatible.
add company_id to account.cash.rounding object