extras_depend to sale_point_invoice to arrange order of execution of '_process_supplier_invoice'
This commit is contained in:
parent
024cf87978
commit
5fc191697a
2 changed files with 13 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
from trytond.tests.test_tryton import ModuleTestCase, activate_module
|
||||
from .document import DocumentTestCase
|
||||
|
||||
|
||||
|
@ -14,6 +14,16 @@ class XmlIncomingTestCase(
|
|||
'Test document incoming xml converter module'
|
||||
module = 'document_incoming_invoice_xml'
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
""" add modelues
|
||||
"""
|
||||
super(XmlIncomingTestCase, cls).setUpClass()
|
||||
try:
|
||||
activate_module(['sale_point_invoice'])
|
||||
except Exception as e1:
|
||||
print('- skipped install of "sale_point_invoice"', str(e1))
|
||||
|
||||
# end XmlIncomingTestCase
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ version=7.0.0
|
|||
depends:
|
||||
document_incoming_invoice
|
||||
edocument_unece
|
||||
extras_depend:
|
||||
sale_point_invoice
|
||||
xml:
|
||||
message.xml
|
||||
configuration.xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue