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
Lukas Niegsch
erp5
Commits
a0c2b666
Commit
a0c2b666
authored
Mar 31, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: erp5_accounting: Migrate Documents from filesystem.
parent
7a8017c6
Changes
29
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
1488 additions
and
12 deletions
+1488
-12
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.Account.py
...ntTemplateItem/portal_components/document.erp5.Account.py
+73
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.Account.xml
...tTemplateItem/portal_components/document.erp5.Account.xml
+110
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountTypeConstraint.py
.../portal_components/document.erp5.AccountTypeConstraint.py
+1
-2
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountTypeConstraint.xml
...portal_components/document.erp5.AccountTypeConstraint.xml
+110
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransaction.py
.../portal_components/document.erp5.AccountingTransaction.py
+87
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransaction.xml
...portal_components/document.erp5.AccountingTransaction.xml
+110
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionBalanceConstraint.py
...s/document.erp5.AccountingTransactionBalanceConstraint.py
+0
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionBalanceConstraint.xml
.../document.erp5.AccountingTransactionBalanceConstraint.xml
+104
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionLine.py
...tal_components/document.erp5.AccountingTransactionLine.py
+1
-1
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionLine.xml
...al_components/document.erp5.AccountingTransactionLine.xml
+131
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionRootSimulationRule.py
.../document.erp5.AccountingTransactionRootSimulationRule.py
+0
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionRootSimulationRule.xml
...document.erp5.AccountingTransactionRootSimulationRule.xml
+104
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.BalanceTransaction.py
...tem/portal_components/document.erp5.BalanceTransaction.py
+3
-3
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.BalanceTransaction.xml
...em/portal_components/document.erp5.BalanceTransaction.xml
+131
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.BalanceTransactionLine.py
...portal_components/document.erp5.BalanceTransactionLine.py
+1
-1
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.BalanceTransactionLine.xml
...ortal_components/document.erp5.BalanceTransactionLine.xml
+110
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.Invoice.py
...ntTemplateItem/portal_components/document.erp5.Invoice.py
+73
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.Invoice.xml
...tTemplateItem/portal_components/document.erp5.Invoice.xml
+110
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.InvoiceRootSimulationRule.py
...tal_components/document.erp5.InvoiceRootSimulationRule.py
+0
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.InvoiceRootSimulationRule.xml
...al_components/document.erp5.InvoiceRootSimulationRule.xml
+104
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.PaymentSimulationRule.py
.../portal_components/document.erp5.PaymentSimulationRule.py
+0
-0
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.PaymentSimulationRule.xml
...portal_components/document.erp5.PaymentSimulationRule.xml
+104
-0
bt5/erp5_accounting/bt/template_document_id_list
bt5/erp5_accounting/bt/template_document_id_list
+11
-0
bt5/erp5_accounting_simulation_legacy/DocumentTemplateItem/portal_components/document.erp5.AccountingRuleCell.py
...tem/portal_components/document.erp5.AccountingRuleCell.py
+1
-1
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperation.py
...eItem/portal_components/document.erp5.BankingOperation.py
+1
-1
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperationLine.py
...m/portal_components/document.erp5.BankingOperationLine.py
+1
-1
bt5/erp5_payroll/DocumentTemplateItem/portal_components/document.erp5.PaySheetTransaction.py
...em/portal_components/document.erp5.PaySheetTransaction.py
+1
-1
bt5/erp5_payroll/DocumentTemplateItem/portal_components/document.erp5.PaySheetTransactionLine.py
...ortal_components/document.erp5.PaySheetTransactionLine.py
+1
-1
product/ERP5/tests/testAmount.py
product/ERP5/tests/testAmount.py
+5
-0
No files found.
product/ERP5/Document/
Account.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
Account.py
View file @
a0c2b666
...
@@ -54,7 +54,6 @@ class Account(Node):
...
@@ -54,7 +54,6 @@ class Account(Node):
as mirror section, and reports such as trial balance can display a
as mirror section, and reports such as trial balance can display a
breakdown of this account for each supplier.
breakdown of this account for each supplier.
"""
"""
meta_type
=
'ERP5 Account'
meta_type
=
'ERP5 Account'
portal_type
=
'Account'
portal_type
=
'Account'
add_permission
=
Permissions
.
AddPortalContent
add_permission
=
Permissions
.
AddPortalContent
...
@@ -72,4 +71,3 @@ class Account(Node):
...
@@ -72,4 +71,3 @@ class Account(Node):
,
PropertySheet
.
Arrow
,
PropertySheet
.
Arrow
,
PropertySheet
.
Reference
,
PropertySheet
.
Reference
)
)
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.Account.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
Account
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.Account
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.Account
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
AccountTypeConstraint.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
AccountTypeConstraint.py
View file @
a0c2b666
...
@@ -27,8 +27,7 @@
...
@@ -27,8 +27,7 @@
##############################################################################
##############################################################################
from
Products.ERP5Type.mixin.constraint
import
ConstraintMixin
from
Products.ERP5Type.mixin.constraint
import
ConstraintMixin
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
PropertySheet
from
Products.ERP5Type.Message
import
Message
translateString
=
lambda
msg
:
msg
# just to extract messages
translateString
=
lambda
msg
:
msg
# just to extract messages
_MARKER
=
[]
_MARKER
=
[]
...
...
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountTypeConstraint.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
AccountTypeConstraint
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.AccountTypeConstraint
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.AccountTypeConstraint
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
AccountingTransaction.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
AccountingTransaction.py
View file @
a0c2b666
...
@@ -36,7 +36,6 @@ class AccountingTransaction(Delivery):
...
@@ -36,7 +36,6 @@ class AccountingTransaction(Delivery):
A Transaction object allows to add
A Transaction object allows to add
elementary accounting transactions in the general ledger
elementary accounting transactions in the general ledger
"""
"""
# CMF Type Definition
# CMF Type Definition
meta_type
=
'ERP5 Accounting Transaction'
meta_type
=
'ERP5 Accounting Transaction'
portal_type
=
'Accounting Transaction'
portal_type
=
'Accounting Transaction'
...
...
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransaction.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
AccountingTransaction
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.AccountingTransaction
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.AccountingTransaction
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
AccountingTransactionBalanceConstraint.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
AccountingTransactionBalanceConstraint.py
View file @
a0c2b666
File moved
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionBalanceConstraint.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
AccountingTransactionBalanceConstraint
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.AccountingTransactionBalanceConstraint
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.AccountingTransactionBalanceConstraint
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
AccountingTransactionLine.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
AccountingTransactionLine.py
View file @
a0c2b666
...
@@ -70,7 +70,7 @@ class AccountingTransactionLine(DeliveryLine):
...
@@ -70,7 +70,7 @@ class AccountingTransactionLine(DeliveryLine):
# Pricing in standard currency
# Pricing in standard currency
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPrice'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPrice'
)
def
getPrice
(
self
,
context
=
None
):
def
getPrice
(
self
,
context
=
None
):
# pylint: disable=arguments-differ
"""
"""
On accounting transaction lines, the price is always set to 1.
On accounting transaction lines, the price is always set to 1.
We use the `quantity` property for the default quantity, and the
We use the `quantity` property for the default quantity, and the
...
...
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionLine.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
AccountingTransactionLine
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.AccountingTransactionLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.AccountingTransactionLine
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
AccountingTransactionRootSimulationRule.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
AccountingTransactionRootSimulationRule.py
View file @
a0c2b666
File moved
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.AccountingTransactionRootSimulationRule.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
AccountingTransactionRootSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.AccountingTransactionRootSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.AccountingTransactionRootSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
BalanceTransaction.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
BalanceTransaction.py
View file @
a0c2b666
...
@@ -31,7 +31,7 @@ from UserDict import UserDict
...
@@ -31,7 +31,7 @@ from UserDict import UserDict
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.Document.Inventory
import
Inventory
from
Products.ERP5.Document.Inventory
import
Inventory
from
Products.ERP5.D
ocument.AccountingTransaction
import
AccountingTransaction
from
erp5.component.d
ocument.AccountingTransaction
import
AccountingTransaction
from
Products.ZSQLCatalog.SQLCatalog
import
Query
from
Products.ZSQLCatalog.SQLCatalog
import
Query
import
types
import
types
...
@@ -39,7 +39,7 @@ import types
...
@@ -39,7 +39,7 @@ import types
class
InventoryKey
(
UserDict
):
class
InventoryKey
(
UserDict
):
"""Class to use as a key when defining inventory dicts.
"""Class to use as a key when defining inventory dicts.
"""
"""
def
__init__
(
self
,
**
kw
):
def
__init__
(
self
,
**
kw
):
# pylint: disable=super-init-not-called
self
.
data
=
{}
self
.
data
=
{}
self
.
data
.
update
(
kw
)
self
.
data
.
update
(
kw
)
...
@@ -49,7 +49,7 @@ class InventoryKey(UserDict):
...
@@ -49,7 +49,7 @@ class InventoryKey(UserDict):
def
pop
(
self
,
keys
,
*
args
):
def
pop
(
self
,
keys
,
*
args
):
raise
TypeError
,
'InventoryKey are immutable'
raise
TypeError
,
'InventoryKey are immutable'
def
update
(
self
,
dict
=
None
,
**
kwargs
):
def
update
(
self
,
dict
=
None
,
**
kwargs
):
# pylint: disable=redefined-builtin
raise
TypeError
,
'InventoryKey are immutable'
raise
TypeError
,
'InventoryKey are immutable'
def
__delitem__
(
self
,
key
):
def
__delitem__
(
self
,
key
):
...
...
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.BalanceTransaction.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
BalanceTransaction
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.BalanceTransaction
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.BalanceTransaction
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
BalanceTransactionLine.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
BalanceTransactionLine.py
View file @
a0c2b666
...
@@ -30,7 +30,7 @@ from AccessControl import ClassSecurityInfo
...
@@ -30,7 +30,7 @@ from AccessControl import ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
from
Products.ERP5.D
ocument.AccountingTransactionLine
import
\
from
erp5.component.d
ocument.AccountingTransactionLine
import
\
AccountingTransactionLine
AccountingTransactionLine
from
Products.ERP5.Document.InventoryLine
import
InventoryLine
from
Products.ERP5.Document.InventoryLine
import
InventoryLine
...
...
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.BalanceTransactionLine.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
BalanceTransactionLine
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.BalanceTransactionLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.BalanceTransactionLine
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
Invoice.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
Invoice.py
View file @
a0c2b666
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.AccountingTransaction
import
AccountingTransaction
from
erp5.component.d
ocument.AccountingTransaction
import
AccountingTransaction
from
Products.ERP5.Document.Delivery
import
Delivery
from
Products.ERP5.Document.Delivery
import
Delivery
class
Invoice
(
AccountingTransaction
):
class
Invoice
(
AccountingTransaction
):
...
@@ -71,4 +71,3 @@ class Invoice(AccountingTransaction):
...
@@ -71,4 +71,3 @@ class Invoice(AccountingTransaction):
kw
.
setdefault
(
'portal_type'
,
kw
.
setdefault
(
'portal_type'
,
self
.
getPortalInvoiceMovementTypeList
())
self
.
getPortalInvoiceMovementTypeList
())
return
Delivery
.
getTotalQuantity
(
self
,
**
kw
)
return
Delivery
.
getTotalQuantity
(
self
,
**
kw
)
\ No newline at end of file
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.Invoice.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
Invoice
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.Invoice
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.Invoice
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
InvoiceRootSimulationRule.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
InvoiceRootSimulationRule.py
View file @
a0c2b666
File moved
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.InvoiceRootSimulationRule.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
InvoiceRootSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.InvoiceRootSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.InvoiceRootSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Document/
PaymentSimulationRule.py
→
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.
PaymentSimulationRule.py
View file @
a0c2b666
File moved
bt5/erp5_accounting/DocumentTemplateItem/portal_components/document.erp5.PaymentSimulationRule.xml
0 → 100644
View file @
a0c2b666
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
PaymentSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Document.PaymentSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.PaymentSimulationRule
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_accounting/bt/template_document_id_list
0 → 100644
View file @
a0c2b666
document.erp5.Account
document.erp5.AccountTypeConstraint
document.erp5.AccountingTransaction
document.erp5.AccountingTransactionBalanceConstraint
document.erp5.AccountingTransactionLine
document.erp5.AccountingTransactionRootSimulationRule
document.erp5.BalanceTransaction
document.erp5.BalanceTransactionLine
document.erp5.Invoice
document.erp5.InvoiceRootSimulationRule
document.erp5.PaymentSimulationRule
\ No newline at end of file
bt5/erp5_accounting_simulation_legacy/DocumentTemplateItem/portal_components/document.erp5.AccountingRuleCell.py
View file @
a0c2b666
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type.Core.Predicate
import
Predicate
from
Products.ERP5Type.Core.Predicate
import
Predicate
from
Products.ERP5.D
ocument.Invoice
import
Invoice
from
erp5.component.d
ocument.Invoice
import
Invoice
class
AccountingRuleCell
(
Predicate
,
Invoice
):
class
AccountingRuleCell
(
Predicate
,
Invoice
):
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperation.py
View file @
a0c2b666
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.Document.Delivery
import
Delivery
from
Products.ERP5.Document.Delivery
import
Delivery
from
Products.ERP5.D
ocument.AccountingTransaction
import
AccountingTransaction
from
erp5.component.d
ocument.AccountingTransaction
import
AccountingTransaction
from
Products.ERP5Type.Utils
import
convertToMixedCase
,
convertToUpperCase
from
Products.ERP5Type.Utils
import
convertToMixedCase
,
convertToUpperCase
from
erp5.component.module.BaobabMixin
import
BaobabMixin
from
erp5.component.module.BaobabMixin
import
BaobabMixin
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperationLine.py
View file @
a0c2b666
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.AccountingTransactionLine
import
AccountingTransactionLine
from
erp5.component.d
ocument.AccountingTransactionLine
import
AccountingTransactionLine
from
erp5.component.module.BaobabMixin
import
BaobabMixin
from
erp5.component.module.BaobabMixin
import
BaobabMixin
class
BankingOperationLine
(
BaobabMixin
,
AccountingTransactionLine
):
class
BankingOperationLine
(
BaobabMixin
,
AccountingTransactionLine
):
...
...
bt5/erp5_payroll/DocumentTemplateItem/portal_components/document.erp5.PaySheetTransaction.py
View file @
a0c2b666
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.Invoice
import
Invoice
from
erp5.component.d
ocument.Invoice
import
Invoice
#XXX TODO: review naming of new methods
#XXX TODO: review naming of new methods
...
...
bt5/erp5_payroll/DocumentTemplateItem/portal_components/document.erp5.PaySheetTransactionLine.py
View file @
a0c2b666
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.D
ocument.AccountingTransactionLine
import
AccountingTransactionLine
from
erp5.component.d
ocument.AccountingTransactionLine
import
AccountingTransactionLine
class
PaySheetTransactionLine
(
AccountingTransactionLine
):
class
PaySheetTransactionLine
(
AccountingTransactionLine
):
"""Not used and here for compatibility.
"""Not used and here for compatibility.
...
...
product/ERP5/tests/testAmount.py
View file @
a0c2b666
...
@@ -523,6 +523,11 @@ class TestAccountingTransactionLine(TestMovement):
...
@@ -523,6 +523,11 @@ class TestAccountingTransactionLine(TestMovement):
"""Tests for Accounting Transaction Line class, which have an overloaded
"""Tests for Accounting Transaction Line class, which have an overloaded
'edit' method.
'edit' method.
"""
"""
def
getBusinessTemplateList
(
self
):
"""
"""
return
(
'erp5_base'
,
'erp5_simulation'
,
'erp5_accounting'
)
def
afterSetUp
(
self
):
def
afterSetUp
(
self
):
self
.
login
()
self
.
login
()
self
.
portal
=
self
.
getPortal
()
self
.
portal
=
self
.
getPortal
()
...
...
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