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
Leo Le Bouter
erp5
Commits
21811896
Commit
21811896
authored
Jan 19, 2015
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trade printout : also customize title for packing list
parent
98176869
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
...teItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
+5
-2
No files found.
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
View file @
21811896
...
@@ -335,8 +335,11 @@ destination_decision = context.getDestinationDecisionValue()\n
...
@@ -335,8 +335,11 @@ destination_decision = context.getDestinationDecisionValue()\n
if destination_decision is None:\n
if destination_decision is None:\n
destination_decision = EmptyOrganisation()\n
destination_decision = EmptyOrganisation()\n
\n
\n
report_title = context.getSimulationState() == "draft" and "Draft Order" or "Order"\n
if context.getPortalType() in context.getPortalObject().getPortalOrderTypeList():\n
\n
report_title = context.getSimulationState() == "draft" and "Draft Order" or "Order"\n
else:\n
report_title = context.getSimulationState() == "draft" and "Draft Packing List" or "Packing List"\n
\n
data_dict = {\n
data_dict = {\n
\'report_title\' : report_title,\n
\'report_title\' : report_title,\n
\'source_section_title\': source_section.getProperty(\'corporate_name\') or\\\n
\'source_section_title\': source_section.getProperty(\'corporate_name\') or\\\n
...
...
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