Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
b27aee89
Commit
b27aee89
authored
Jul 09, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix imports
parent
a88da90e
Changes
45
Show whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
59 additions
and
59 deletions
+59
-59
bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModel_Printout.xml
...eItem/portal_skins/erp5_apparel/ApparelModel_Printout.xml
+1
-1
bt5/erp5_budget/TestTemplateItem/portal_components/test.erp5.testBudget.py
...estTemplateItem/portal_components/test.erp5.testBudget.py
+1
-1
bt5/erp5_deferred_style/TestTemplateItem/portal_components/test.erp5.testDeferredStyle.py
...lateItem/portal_components/test.erp5.testDeferredStyle.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocToDocx.py
...eItem/portal_components/module.erp5.TransformDocToDocx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocToHtml.py
...eItem/portal_components/module.erp5.TransformDocToHtml.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocxToDocy.py
...Item/portal_components/module.erp5.TransformDocxToDocy.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocxToOdt.py
...eItem/portal_components/module.erp5.TransformDocxToOdt.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocyToDocx.py
...Item/portal_components/module.erp5.TransformDocyToDocx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToHtml.py
...eItem/portal_components/module.erp5.TransformOdpToHtml.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToPdf.py
...teItem/portal_components/module.erp5.TransformOdpToPdf.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToPptx.py
...eItem/portal_components/module.erp5.TransformOdpToPptx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToSxi.py
...teItem/portal_components/module.erp5.TransformOdpToSxi.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdsToHtml.py
...eItem/portal_components/module.erp5.TransformOdsToHtml.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdsToPdf.py
...teItem/portal_components/module.erp5.TransformOdsToPdf.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdsToXlsx.py
...eItem/portal_components/module.erp5.TransformOdsToXlsx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdtToDocx.py
...eItem/portal_components/module.erp5.TransformOdtToDocx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdtToHtml.py
...eItem/portal_components/module.erp5.TransformOdtToHtml.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPdfToBmp.py
...teItem/portal_components/module.erp5.TransformPdfToBmp.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptToPptx.py
...eItem/portal_components/module.erp5.TransformPptToPptx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptxToOdp.py
...eItem/portal_components/module.erp5.TransformPptxToOdp.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptxToPpty.py
...Item/portal_components/module.erp5.TransformPptxToPpty.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptyToPptx.py
...Item/portal_components/module.erp5.TransformPptyToPptx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformSxiToHtml.py
...eItem/portal_components/module.erp5.TransformSxiToHtml.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformSxiToOdp.py
...teItem/portal_components/module.erp5.TransformSxiToOdp.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsToOds.py
...teItem/portal_components/module.erp5.TransformXlsToOds.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsToXlsx.py
...eItem/portal_components/module.erp5.TransformXlsToXlsx.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsxToOds.py
...eItem/portal_components/module.erp5.TransformXlsxToOds.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsxToXlsy.py
...Item/portal_components/module.erp5.TransformXlsxToXlsy.py
+1
-1
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsyToXlsx.py
...Item/portal_components/module.erp5.TransformXlsyToXlsx.py
+1
-1
bt5/erp5_dms/PathTemplateItem/portal_transforms/html_to_odt.xml
...p5_dms/PathTemplateItem/portal_transforms/html_to_odt.xml
+1
-1
bt5/erp5_dms/PathTemplateItem/portal_transforms/odt_to_doc.xml
...rp5_dms/PathTemplateItem/portal_transforms/odt_to_doc.xml
+1
-1
bt5/erp5_dms/PathTemplateItem/portal_transforms/odt_to_pdf.xml
...rp5_dms/PathTemplateItem/portal_transforms/odt_to_pdf.xml
+1
-1
bt5/erp5_dms/PathTemplateItem/portal_transforms/odt_to_xml.xml
...rp5_dms/PathTemplateItem/portal_transforms/odt_to_xml.xml
+1
-1
bt5/erp5_odt_style/TestTemplateItem/portal_components/test.erp5.testFormPrintoutAsODG.py
...Item/portal_components/test.erp5.testFormPrintoutAsODG.py
+1
-1
bt5/erp5_odt_style/TestTemplateItem/portal_components/test.erp5.testFormPrintoutAsODT.py
...Item/portal_components/test.erp5.testFormPrintoutAsODT.py
+1
-1
bt5/erp5_odt_style/TestTemplateItem/portal_components/test.erp5.testOOoDynamicStyle.py
...teItem/portal_components/test.erp5.testOOoDynamicStyle.py
+1
-1
product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml
...ootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml
+5
-5
product/ERP5/tests/testAccountingReports.py
product/ERP5/tests/testAccountingReports.py
+2
-2
product/ERP5/tests/testAdvancedInvoicing.py
product/ERP5/tests/testAdvancedInvoicing.py
+1
-1
product/ERP5/tests/testCRM.py
product/ERP5/tests/testCRM.py
+2
-2
product/ERP5/tests/testInvoice.py
product/ERP5/tests/testInvoice.py
+4
-4
product/ERP5/tests/testOrder.py
product/ERP5/tests/testOrder.py
+6
-6
product/ERP5/tests/testPackingList.py
product/ERP5/tests/testPackingList.py
+1
-1
product/ERP5/tests/testTradeModelLine.py
product/ERP5/tests/testTradeModelLine.py
+1
-1
product/ERP5Form/tests/testOOoChart.py
product/ERP5Form/tests/testOOoChart.py
+1
-1
No files found.
bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModel_Printout.xml
View file @
b27aee89
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<global
name=
"__newobj__"
module=
"copy_reg"
/>
<global
name=
"__newobj__"
module=
"copy_reg"
/>
</klass>
</klass>
<tuple>
<tuple>
<global
name=
"ODGStrategy"
module=
"
Products.ERP5OOo
.FormPrintout"
/>
<global
name=
"ODGStrategy"
module=
"
erp5.component.module
.FormPrintout"
/>
</tuple>
</tuple>
<state>
<state>
<dictionary>
<dictionary>
...
...
bt5/erp5_budget/TestTemplateItem/portal_components/test.erp5.testBudget.py
View file @
b27aee89
...
@@ -1811,7 +1811,7 @@ class TestBudget(ERP5TypeTestCase):
...
@@ -1811,7 +1811,7 @@ class TestBudget(ERP5TypeTestCase):
self
.
assertEqual
(.
5
,
line_list
[
3
][
2
][
'consumed_ratio'
])
self
.
assertEqual
(.
5
,
line_list
[
3
][
2
][
'consumed_ratio'
])
# validate report ODF
# validate report ODF
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
odf
=
budget
.
Budget_viewBudgetConsumptionReport
()
odf
=
budget
.
Budget_viewBudgetConsumptionReport
()
err_list
=
odf_validator
.
validate
(
odf
)
err_list
=
odf_validator
.
validate
(
odf
)
...
...
bt5/erp5_deferred_style/TestTemplateItem/portal_components/test.erp5.testDeferredStyle.py
View file @
b27aee89
...
@@ -31,7 +31,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
...
@@ -31,7 +31,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Testing
import
ZopeTestCase
from
Testing
import
ZopeTestCase
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
from
lxml
import
html
from
lxml
import
html
import
email
,
urlparse
,
httplib
import
email
,
urlparse
,
httplib
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocToDocx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
DocToDocx
:
class
DocToDocx
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocToHtml.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
DocToHtml
:
class
DocToHtml
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocxToDocy.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
DocxToDocy
:
class
DocxToDocy
:
"""Transforms docx to docy by using Cloudooo"""
"""Transforms docx to docy by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocxToOdt.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
DocxToOdt
:
class
DocxToOdt
:
"""Transforms docx to odt by using Cloudooo"""
"""Transforms docx to odt by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformDocyToDocx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
DocyToDocx
:
class
DocyToDocx
:
"""Transforms docy to docx by using Cloudooo"""
"""Transforms docy to docx by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToHtml.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdpToHtml
:
class
OdpToHtml
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToPdf.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdpToPdf
:
class
OdpToPdf
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToPptx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdpToPptx
:
class
OdpToPptx
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdpToSxi.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdpToSxi
:
class
OdpToSxi
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdsToHtml.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdsToHtml
:
class
OdsToHtml
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdsToPdf.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdsToPdf
:
class
OdsToPdf
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdsToXlsx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdsToXlsx
:
class
OdsToXlsx
:
"""Transforms ods to xlsx by using Cloudooo"""
"""Transforms ods to xlsx by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdtToDocx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdtToDocx
:
class
OdtToDocx
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformOdtToHtml.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
OdtToHtml
:
class
OdtToHtml
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPdfToBmp.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
PdfToBmp
:
class
PdfToBmp
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptToPptx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
PptToPptx
:
class
PptToPptx
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptxToOdp.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
PptxToOdp
:
class
PptxToOdp
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptxToPpty.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
PptxToPpty
:
class
PptxToPpty
:
"""Transforms pptx to ppty by using Cloudooo"""
"""Transforms pptx to ppty by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformPptyToPptx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
PptyToPptx
:
class
PptyToPptx
:
"""Transforms ppty to pptx by using Cloudooo"""
"""Transforms ppty to pptx by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformSxiToHtml.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
SxiToHtml
:
class
SxiToHtml
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformSxiToOdp.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
SxiToOdp
:
class
SxiToOdp
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsToOds.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
XlsToOds
:
class
XlsToOds
:
"""Transforms xls to ods by using Cloudooo"""
"""Transforms xls to ods by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsToXlsx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
XlsToXlsx
:
class
XlsToXlsx
:
"""Transforms xls to xlsx by using Cloudooo"""
"""Transforms xls to xlsx by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsxToOds.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
XlsxToOds
:
class
XlsxToOds
:
"""Transforms xlsx to ods by using Cloudooo"""
"""Transforms xlsx to ods by using Cloudooo"""
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsxToXlsy.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
XlsxToXlsy
:
class
XlsxToXlsy
:
...
...
bt5/erp5_dms/ModuleComponentTemplateItem/portal_components/module.erp5.TransformXlsyToXlsx.py
View file @
b27aee89
from
Products.PortalTransforms.interfaces
import
itransform
from
Products.PortalTransforms.interfaces
import
itransform
from
zope.interface
import
implements
from
zope.interface
import
implements
from
Products.ERP5OOo.transforms.oood_commandt
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
from
erp5.component.module.OOOdCommandT
ransform
import
OOOdCommandTransform
,
OOoDocumentDataStream
class
XlsyToXlsx
:
class
XlsyToXlsx
:
"""Transforms xlsy to xlsx by using Cloudooo"""
"""Transforms xlsy to xlsx by using Cloudooo"""
...
...
bt5/erp5_dms/PathTemplateItem/portal_transforms/html_to_odt.xml
View file @
b27aee89
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
module
</string>
</key>
<key>
<string>
module
</string>
</key>
<value>
<string>
Products.ERP5OOo.transforms.html_to_o
dt
</string>
</value>
<value>
<string>
erp5.component.module.TransformHtmlToO
dt
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output
</string>
</key>
<key>
<string>
output
</string>
</key>
...
...
bt5/erp5_dms/PathTemplateItem/portal_transforms/odt_to_doc.xml
View file @
b27aee89
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
module
</string>
</key>
<key>
<string>
module
</string>
</key>
<value>
<string>
Products.ERP5OOo.transforms.odt_to_d
oc
</string>
</value>
<value>
<string>
erp5.component.module.TransformOdtToD
oc
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output
</string>
</key>
<key>
<string>
output
</string>
</key>
...
...
bt5/erp5_dms/PathTemplateItem/portal_transforms/odt_to_pdf.xml
View file @
b27aee89
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
module
</string>
</key>
<key>
<string>
module
</string>
</key>
<value>
<string>
Products.ERP5OOo.transforms.odt_to_p
df
</string>
</value>
<value>
<string>
erp5.component.module.TransformOdtToP
df
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output
</string>
</key>
<key>
<string>
output
</string>
</key>
...
...
bt5/erp5_dms/PathTemplateItem/portal_transforms/odt_to_xml.xml
View file @
b27aee89
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
module
</string>
</key>
<key>
<string>
module
</string>
</key>
<value>
<string>
Products.ERP5OOo.transforms.odt_to_x
ml
</string>
</value>
<value>
<string>
erp5.component.module.TransformOdtToX
ml
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output
</string>
</key>
<key>
<string>
output
</string>
</key>
...
...
bt5/erp5_odt_style/TestTemplateItem/portal_components/test.erp5.testFormPrintoutAsODG.py
View file @
b27aee89
...
@@ -31,7 +31,7 @@ import unittest
...
@@ -31,7 +31,7 @@ import unittest
import
Products.ERP5
import
Products.ERP5
from
erp5.component.module.TestFormPrintoutMixin
import
TestFormPrintoutMixin
from
erp5.component.module.TestFormPrintoutMixin
import
TestFormPrintoutMixin
from
erp5.component.module.OOoUtils
import
OOoBuilder
from
erp5.component.module.OOoUtils
import
OOoBuilder
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.utils
import
FileUpload
from
lxml
import
etree
from
lxml
import
etree
import
os
import
os
...
...
bt5/erp5_odt_style/TestTemplateItem/portal_components/test.erp5.testFormPrintoutAsODT.py
View file @
b27aee89
...
@@ -36,7 +36,7 @@ from erp5.component.module.TestFormPrintoutMixin import TestFormPrintoutMixin
...
@@ -36,7 +36,7 @@ from erp5.component.module.TestFormPrintoutMixin import TestFormPrintoutMixin
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.MimetypesRegistry.mime_types.magic
import
guessMime
from
Products.MimetypesRegistry.mime_types.magic
import
guessMime
from
erp5.component.module.OOoUtils
import
OOoBuilder
from
erp5.component.module.OOoUtils
import
OOoBuilder
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.utils
import
FileUpload
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
lxml
import
etree
from
lxml
import
etree
...
...
bt5/erp5_odt_style/TestTemplateItem/portal_components/test.erp5.testOOoDynamicStyle.py
View file @
b27aee89
...
@@ -35,7 +35,7 @@ from zipfile import ZipFile
...
@@ -35,7 +35,7 @@ from zipfile import ZipFile
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.utils
import
DummyLocalizer
from
Products.ERP5Type.tests.utils
import
DummyLocalizer
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
from
erp5.component.module.OOoUtils
import
OOoBuilder
from
erp5.component.module.OOoUtils
import
OOoBuilder
...
...
product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml
View file @
b27aee89
...
@@ -38603,7 +38603,7 @@
...
@@ -38603,7 +38603,7 @@
</item>
</item>
<item>
<item>
<key> <string>module</string> </key>
<key> <string>module</string> </key>
<value> <string>
Products.ERP5OOo.transforms.odt_to_p
df</string> </value>
<value> <string>
erp5.component.module.TransformOdtToP
df</string> </value>
</item>
</item>
<item>
<item>
<key> <string>output</string> </key>
<key> <string>output</string> </key>
...
@@ -38707,7 +38707,7 @@
...
@@ -38707,7 +38707,7 @@
</item>
</item>
<item>
<item>
<key> <string>module</string> </key>
<key> <string>module</string> </key>
<value> <string>
Products.ERP5OOo.transforms.odt_to_d
oc</string> </value>
<value> <string>
erp5.component.module.TransformOdtToD
oc</string> </value>
</item>
</item>
<item>
<item>
<key> <string>output</string> </key>
<key> <string>output</string> </key>
...
@@ -38811,7 +38811,7 @@
...
@@ -38811,7 +38811,7 @@
</item>
</item>
<item>
<item>
<key> <string>module</string> </key>
<key> <string>module</string> </key>
<value> <string>
Products.ERP5OOo.transforms.odt_to_d
oc</string> </value>
<value> <string>
erp5.component.module.TransformOdtToD
oc</string> </value>
</item>
</item>
<item>
<item>
<key> <string>output</string> </key>
<key> <string>output</string> </key>
...
@@ -39123,7 +39123,7 @@
...
@@ -39123,7 +39123,7 @@
</item>
</item>
<item>
<item>
<key> <string>module</string> </key>
<key> <string>module</string> </key>
<value> <string>
Products.ERP5OOo.transforms.odt_to_x
ml</string> </value>
<value> <string>
erp5.component.module.TransformOdtToX
ml</string> </value>
</item>
</item>
<item>
<item>
<key> <string>output</string> </key>
<key> <string>output</string> </key>
...
@@ -41976,7 +41976,7 @@
...
@@ -41976,7 +41976,7 @@
</item>
</item>
<item>
<item>
<key> <string>module</string> </key>
<key> <string>module</string> </key>
<value> <string>
Products.ERP5OOo.transforms.html_to_o
dt</string> </value>
<value> <string>
erp5.component.module.TransformHtmlToO
dt</string> </value>
</item>
</item>
<item>
<item>
<key> <string>output</string> </key>
<key> <string>output</string> </key>
product/ERP5/tests/testAccountingReports.py
View file @
b27aee89
...
@@ -4552,7 +4552,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
...
@@ -4552,7 +4552,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
# for now, we simply check that that the report is rendered with no error
# for now, we simply check that that the report is rendered with no error
# and it produces valid odf
# and it produces valid odf
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
odf
=
self
.
portal
.
account_module
.
AccountModule_viewProfitAndLossReport
()
odf
=
self
.
portal
.
account_module
.
AccountModule_viewProfitAndLossReport
()
err_list
=
odf_validator
.
validate
(
odf
)
err_list
=
odf_validator
.
validate
(
odf
)
...
@@ -4573,7 +4573,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
...
@@ -4573,7 +4573,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
# for now, we simply check that that the report is rendered with no error
# for now, we simply check that that the report is rendered with no error
# and it produces valid odf
# and it produces valid odf
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
odf
=
self
.
portal
.
account_module
.
AccountModule_viewBalanceSheetReport
()
odf
=
self
.
portal
.
account_module
.
AccountModule_viewBalanceSheetReport
()
err_list
=
odf_validator
.
validate
(
odf
)
err_list
=
odf_validator
.
validate
(
odf
)
...
...
product/ERP5/tests/testAdvancedInvoicing.py
View file @
b27aee89
...
@@ -392,7 +392,7 @@ class TestAdvancedInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase):
...
@@ -392,7 +392,7 @@ class TestAdvancedInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
invoice
.
Invoice_viewAsODT
()
odt
=
invoice
.
Invoice_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
...
product/ERP5/tests/testCRM.py
View file @
b27aee89
...
@@ -34,8 +34,8 @@ from unittest import expectedFailure
...
@@ -34,8 +34,8 @@ from unittest import expectedFailure
from
Products.CMFCore.WorkflowCore
import
WorkflowException
from
Products.CMFCore.WorkflowCore
import
WorkflowException
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5OOo.tests
.testIngestion
import
FILENAME_REGULAR_EXPRESSION
from
erp5.component.test
.testIngestion
import
FILENAME_REGULAR_EXPRESSION
from
Products.ERP5OOo.tests
.testIngestion
import
REFERENCE_REGULAR_EXPRESSION
from
erp5.component.test
.testIngestion
import
REFERENCE_REGULAR_EXPRESSION
from
email.header
import
decode_header
from
email.header
import
decode_header
from
email.mime.multipart
import
MIMEMultipart
from
email.mime.multipart
import
MIMEMultipart
from
email.mime.base
import
MIMEBase
from
email.mime.base
import
MIMEBase
...
...
product/ERP5/tests/testInvoice.py
View file @
b27aee89
...
@@ -1665,7 +1665,7 @@ class TestInvoice(TestInvoiceMixin):
...
@@ -1665,7 +1665,7 @@ class TestInvoice(TestInvoiceMixin):
product_total_price
=
str
(
10
*
3
+
20
*
5
+
60
*
5
+
60
*
3
+
7
*
20
+
130
*
0.2
+
300
*
0.05
+
20
*
0.1
)
product_total_price
=
str
(
10
*
3
+
20
*
5
+
60
*
5
+
60
*
3
+
7
*
20
+
130
*
0.2
+
300
*
0.05
+
20
*
0.1
)
if
text_content
.
find
(
product_total_price
)
==
-
1
:
if
text_content
.
find
(
product_total_price
)
==
-
1
:
self
.
fail
(
'fail to get the total price of the products with tax'
)
self
.
fail
(
'fail to get the total price of the products with tax'
)
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -1704,7 +1704,7 @@ class TestInvoice(TestInvoiceMixin):
...
@@ -1704,7 +1704,7 @@ class TestInvoice(TestInvoiceMixin):
self
.
tic
()
self
.
tic
()
odt
=
invoice
.
Invoice_viewAsODT
()
odt
=
invoice
.
Invoice_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -1756,7 +1756,7 @@ class TestInvoice(TestInvoiceMixin):
...
@@ -1756,7 +1756,7 @@ class TestInvoice(TestInvoiceMixin):
self
.
tic
()
self
.
tic
()
odt
=
invoice
.
Invoice_viewAsODT
()
odt
=
invoice
.
Invoice_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -1803,7 +1803,7 @@ class TestInvoice(TestInvoiceMixin):
...
@@ -1803,7 +1803,7 @@ class TestInvoice(TestInvoiceMixin):
self
.
assertEqual
(
'0103/12/31'
,
data_dict
[
'stop_date'
])
self
.
assertEqual
(
'0103/12/31'
,
data_dict
[
'stop_date'
])
# rendering is valid odf
# rendering is valid odf
odt
=
invoice
.
Invoice_viewAsODT
()
odt
=
invoice
.
Invoice_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
...
product/ERP5/tests/testOrder.py
View file @
b27aee89
...
@@ -2748,7 +2748,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
...
@@ -2748,7 +2748,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
order
.
Order_viewAsODT
()
odt
=
order
.
Order_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -2784,7 +2784,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
...
@@ -2784,7 +2784,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
order
.
Order_viewAsODT
()
odt
=
order
.
Order_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -2822,7 +2822,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
...
@@ -2822,7 +2822,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
order
.
Order_viewAsODT
()
odt
=
order
.
Order_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -2863,7 +2863,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
...
@@ -2863,7 +2863,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
order
.
Order_viewAsODT
()
odt
=
order
.
Order_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -2907,7 +2907,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
...
@@ -2907,7 +2907,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
order
.
Order_viewAsODT
()
odt
=
order
.
Order_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
@@ -2947,7 +2947,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
...
@@ -2947,7 +2947,7 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self
.
tic
()
self
.
tic
()
odt
=
order
.
Order_viewAsODT
()
odt
=
order
.
Order_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
...
product/ERP5/tests/testPackingList.py
View file @
b27aee89
...
@@ -1789,7 +1789,7 @@ class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) :
...
@@ -1789,7 +1789,7 @@ class TestPackingList(TestPackingListMixin, ERP5TypeTestCase) :
self
.
tic
()
self
.
tic
()
odt
=
packing_list
.
PackingList_viewAsODT
()
odt
=
packing_list
.
PackingList_viewAsODT
()
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
odf_validator
=
Validator
()
odf_validator
=
Validator
()
err_list
=
odf_validator
.
validate
(
odt
)
err_list
=
odf_validator
.
validate
(
odt
)
if
err_list
:
if
err_list
:
...
...
product/ERP5/tests/testTradeModelLine.py
View file @
b27aee89
...
@@ -38,7 +38,7 @@ from Products.ERP5Type.Base import Base
...
@@ -38,7 +38,7 @@ from Products.ERP5Type.Base import Base
from
Products.ERP5Type.Utils
import
simple_decorator
from
Products.ERP5Type.Utils
import
simple_decorator
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
def
save_result_as
(
name
):
def
save_result_as
(
name
):
...
...
product/ERP5Form/tests/testOOoChart.py
View file @
b27aee89
...
@@ -31,7 +31,7 @@ from DocumentTemplate import String
...
@@ -31,7 +31,7 @@ from DocumentTemplate import String
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Testing
import
ZopeTestCase
from
Testing
import
ZopeTestCase
from
Products.ERP5OOo.tests.utils
import
Validator
from
erp5.component.module.OOoTestUtil
import
Validator
from
Acquisition
import
aq_base
from
Acquisition
import
aq_base
from
Products.ERP5Type.Globals
import
get_request
from
Products.ERP5Type.Globals
import
get_request
from
Products.ERP5.Document.Document
import
VALID_IMAGE_FORMAT_LIST
from
Products.ERP5.Document.Document
import
VALID_IMAGE_FORMAT_LIST
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment