prepare test for porting

This commit is contained in:
Frederik Jaeckel 2023-06-02 20:40:12 +02:00
parent 619a17bcd6
commit 3467c08895
16 changed files with 690 additions and 373 deletions

View file

@ -23,6 +23,8 @@ DEPENDS = ['state', 'state_cashbook']
class SecondCurrencyMixin:
""" two fields for 2nd currency: amount + rate
"""
__slots__ = ()
amount_2nd_currency = fields.Numeric(
string='Amount Second Currency',
digits=(16, Eval('currency2nd_digits', 2)),
@ -202,6 +204,8 @@ class SecondCurrencyMixin:
class MemCacheIndexMx:
""" add index to 'create_date' + 'write_date'
"""
__slots__ = ()
@classmethod
def __setup__(cls):
super(MemCacheIndexMx, cls).__setup__()