upgrade Tryton 6.6

This commit is contained in:
Frederik Jaeckel 2023-04-04 13:08:09 +02:00
parent 2c6102054f
commit 605a368426
2 changed files with 4 additions and 1 deletions

View file

@ -20,6 +20,7 @@ class InvoiceLine(metaclass=PoolMeta):
Eval('quantity', None) != None, Eval('quantity', None) != None,
), ),
) )
cls.unit.depends.extend(['type', 'quantity']) cls.unit.depends.add('type')
cls.unit.depends.add('quantity')
# end Invoice # end Invoice

View file

@ -17,3 +17,5 @@ class InvoiceTestCase(ModuleTestCase):
pass pass
# end InvoiceTestCase # end InvoiceTestCase
del ModuleTestCase