Migrate to 6.4
This commit is contained in:
parent
5860048597
commit
9ca50731fd
2
party.py
2
party.py
|
@ -6,8 +6,6 @@ from trytond.tools.multivalue import migrate_property
|
|||
from trytond.modules.company.model import CompanyValueMixin
|
||||
|
||||
|
||||
__all__ = ['Party', 'PartyInvoiceTo']
|
||||
|
||||
parties_names = ['customer_to_invoice', 'supplier_to_invoice']
|
||||
|
||||
|
||||
|
|
3
setup.py
3
setup.py
|
@ -121,7 +121,4 @@ setup(name=name,
|
|||
[trytond.modules]
|
||||
account_invoice_party_invoice_to = trytond.modules.account_invoice_party_invoice_to
|
||||
""",
|
||||
test_suite='tests',
|
||||
test_loader='trytond.test_loader:Loader',
|
||||
tests_require=tests_require,
|
||||
)
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from .test_account_invoice import suite
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
import unittest
|
||||
from trytond.pool import Pool
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
|
||||
|
||||
|
@ -32,7 +30,4 @@ class TestCase(ModuleTestCase):
|
|||
self.assertEqual(party.supplier_to_invoice, party2)
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
|
||||
return suite
|
||||
del ModuleTestCase
|
|
@ -0,0 +1,7 @@
|
|||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
from trytond.tests.test_tryton import load_doc_tests
|
||||
|
||||
|
||||
def load_tests(*args, **kwargs):
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=6.0.0
|
||||
version=6.4.0
|
||||
depends:
|
||||
account_invoice
|
||||
ir
|
||||
|
|
Loading…
Reference in New Issue