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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
d3043dac
Commit
d3043dac
authored
Jun 20, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use reference instead of portal type in rule's condition.
parent
7b686ce6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/SimulationMovement_testPaymentSimulationRule.xml
...counting/SimulationMovement_testPaymentSimulationRule.xml
+1
-2
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/SimulationMovement_testPaymentSimulationRule.xml
View file @
d3043dac
...
@@ -56,8 +56,7 @@ parent = movement.getParentValue()\n
...
@@ -56,8 +56,7 @@ parent = movement.getParentValue()\n
if parent.getPortalType() != \'Applied Rule\':\n
if parent.getPortalType() != \'Applied Rule\':\n
return False\n
return False\n
\n
\n
parent_rule = parent.getSpecialiseValue()\n
if parent.getSpecialiseReference() != \'default_invoice_transaction_rule\':\n
if parent_rule.getPortalType() not in (\'Invoice Transaction Simulation Rule\',):\n
return False\n
return False\n
\n
\n
# XXX hardcoded\n
# XXX hardcoded\n
...
...
bt5/erp5_accounting/bt/revision
View file @
d3043dac
1463
1464
\ No newline at end of file
\ No newline at end of file
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