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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
91e832b0
Commit
91e832b0
authored
Sep 10, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_travel_expense: add constraint for expense validation request
parent
386d74d3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
158 additions
and
2 deletions
+158
-2
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint.xml
...al_property_sheets/ExpenseValidationRequestConstraint.xml
+66
-0
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint/section_existence_constraint.xml
...idationRequestConstraint/section_existence_constraint.xml
+88
-0
bt5/erp5_travel_expense/WorkflowTemplateItem/portal_workflow/ticket_acceptance_simulation_workflow/transition_accept_action.xml
...ceptance_simulation_workflow/transition_accept_action.xml
+1
-0
bt5/erp5_travel_expense/bt/template_portal_type_property_sheet_list
...ravel_expense/bt/template_portal_type_property_sheet_list
+1
-1
bt5/erp5_travel_expense/bt/template_property_sheet_id_list
bt5/erp5_travel_expense/bt/template_property_sheet_id_list
+2
-1
No files found.
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint.xml
0 → 100644
View file @
91e832b0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ExpenseValidationRequestConstraint
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense/PropertySheetTemplateItem/portal_property_sheets/ExpenseValidationRequestConstraint/section_existence_constraint.xml
0 → 100644
View file @
91e832b0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category Existence Constraint"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
constraint_base_category
</string>
</key>
<value>
<tuple>
<string>
source_section
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
constraint_portal_type
</string>
</key>
<value>
<string>
python: ()
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
section_existence_constraint
</string>
</value>
</item>
<item>
<key>
<string>
message_category_not_set
</string>
</key>
<value>
<string>
Section must be defined
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Existence Constraint
</string>
</value>
</item>
<item>
<key>
<string>
use_acquisition
</string>
</key>
<value>
<int>
0
</int>
</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/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_travel_expense/WorkflowTemplateItem/portal_workflow/ticket_acceptance_simulation_workflow/transition_accept_action.xml
View file @
91e832b0
...
...
@@ -20,6 +20,7 @@
<tuple>
<string>
action_type/workflow
</string>
<string>
after_script/portal_workflow/ticket_acceptance_simulation_workflow/transition_accept
</string>
<string>
before_script/portal_workflow/ticket_acceptance_simulation_workflow/script_checkConsistency
</string>
</tuple>
</value>
</item>
...
...
bt5/erp5_travel_expense/bt/template_portal_type_property_sheet_list
View file @
91e832b0
Expense Record | ExpenseRecord
Expense Validation Request | ExpenseValidationRequest
Expense Validation Request | ExpenseValidationRequest
Expense Validation Request | ExpenseValidationRequest
Constraint
Leave Request Record | LeaveRequestRecord
Localisation Record | GeographicalPoint
Travel Request Record | TravelRequestRecord
...
...
bt5/erp5_travel_expense/bt/template_property_sheet_id_list
View file @
91e832b0
...
...
@@ -3,3 +3,4 @@ LeaveRequestRecord
TravelRequestRecord
TravelRequest
ExpenseValidationRequest
ExpenseValidationRequestConstraint
\ 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