book: view zeigt in listansicht bei unterkonten in fremdwährung
den korrekten wert, book-form: feld für saldo in unternehmens-währung
This commit is contained in:
parent
4a7ee23e2c
commit
59dfb94bee
7 changed files with 238 additions and 13 deletions
|
@ -98,6 +98,13 @@ class ConfigTestCase(ModuleTestCase):
|
|||
'rate': Decimal('1.05'),
|
||||
}])
|
||||
|
||||
# delete unwanted rates
|
||||
usd_1 = CurrencyRate.search([
|
||||
('currency.id', '=', usd.id),
|
||||
('date', '!=', date(2022, 5, 2)),
|
||||
])
|
||||
CurrencyRate.delete(usd_1)
|
||||
|
||||
return (usd, euro)
|
||||
|
||||
@with_transaction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue