Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
9a9d4b0a
Commit
9a9d4b0a
authored
Oct 11, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: Import predicate from the right location
parent
6ca6a6ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
10 deletions
+33
-10
master/bt5/slapos_accounting/DocumentTemplateItem/portal_components/document.erp5.SubscriptionItemRootSimulationRule.py
...nents/document.erp5.SubscriptionItemRootSimulationRule.py
+1
-1
master/bt5/slapos_accounting/DocumentTemplateItem/portal_components/document.erp5.SubscriptionItemRootSimulationRule.xml
...ents/document.erp5.SubscriptionItemRootSimulationRule.xml
+32
-9
No files found.
master/bt5/slapos_accounting/DocumentTemplateItem/portal_components/document.erp5.SubscriptionItemRootSimulationRule.py
View file @
9a9d4b0a
...
@@ -33,7 +33,7 @@ will replace DeliveryRule.
...
@@ -33,7 +33,7 @@ will replace DeliveryRule.
import
zope.interface
import
zope.interface
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5Type.
Document
.Predicate
import
Predicate
from
Products.ERP5Type.
Core
.Predicate
import
Predicate
from
Products.ERP5.mixin.rule
import
RuleMixin
from
Products.ERP5.mixin.rule
import
RuleMixin
from
Products.ERP5.mixin.movement_collection_updater
import
\
from
Products.ERP5.mixin.movement_collection_updater
import
\
MovementCollectionUpdaterMixin
MovementCollectionUpdaterMixin
...
...
master/bt5/slapos_accounting/DocumentTemplateItem/portal_components/document.erp5.SubscriptionItemRootSimulationRule.xml
View file @
9a9d4b0a
...
@@ -6,10 +6,22 @@
...
@@ -6,10 +6,22 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
SubscriptionItemRootSimulationRule
</string>
</value>
<value>
<string>
SubscriptionItemRootSimulationRule
</string>
</value>
</item>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.SubscriptionItemRootSimulationRule
</string>
</value>
<value>
<string>
document.erp5.SubscriptionItemRootSimulationRule
</string>
</value>
...
@@ -27,17 +39,13 @@
...
@@ -27,17 +39,13 @@
<item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<value>
<tuple>
<tuple/>
<string>
F: 36, 0: Unable to import \'Products.ERP5Type.Document.Predicate\' (import-error)
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<value>
<tuple>
<tuple/>
<string>
W: 42, 0: Method \'_newProfitAndLossMovement\' is abstract in class \'RuleMixin\' but is not overridden (abstract-method)
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -47,13 +55,28 @@
...
@@ -47,13 +55,28 @@
<item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<key>
<string>
workflow_history
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<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>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
</pickle>
...
@@ -66,7 +89,7 @@
...
@@ -66,7 +89,7 @@
<item>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -75,7 +98,7 @@
...
@@ -75,7 +98,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
3"
aka=
"AAAAAAAAAAM
="
>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
</pickle>
...
...
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