Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
36162477
Commit
36162477
authored
Aug 12, 2014
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
customize title of printout & use getMovementList to retrieve line as it is customizable
parent
02e073f5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
...teItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
+3
-0
bt5/erp5_base/bt/revision
bt5/erp5_base/bt/revision
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml
...ateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml
+3
-4
bt5/erp5_trade/bt/revision
bt5/erp5_trade/bt/revision
+1
-1
No files found.
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
View file @
36162477
...
...
@@ -338,7 +338,10 @@ destination_decision = context.getDestinationDecisionValue()\n
if destination_decision is None:\n
destination_decision = EmptyOrganisation()\n
\n
report_title = context.getSimulationState() == "draft" and "Draft Order" or "Order"\n
\n
data_dict = {\n
\'report_title\' : report_title,\n
\'source_section_title\': source_section.getProperty(\'corporate_name\') or\\\n
source_section.getTitle(),\n
\'source_section_image_path\': source_section.getDefaultImagePath() or \'\',\n
...
...
bt5/erp5_base/bt/revision
View file @
36162477
1067
\ No newline at end of file
1068
\ No newline at end of file
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml
View file @
36162477
...
...
@@ -302,7 +302,7 @@ AAA=</string> </value>
<office:master-styles>
\n
<style:master-page
style:name=
"Standard"
style:page-layout-name=
"pm1"
>
\n
<style:header
tal:define=
"default_language python:test(request.get(\'international_form\'), \'en\', here.Localizer.get_selected_language());\n
orig_title python:
test(context.getSimulationState() == \'offered\', \'Offer\', \'Order\')
;\n
orig_title python:
data_dict[\'report_title\']
;\n
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), \'utf-8\');\n
my_title python: unicode(here.Base_translateString(orig_title), \'utf-8\');\n
orig_page string:Page;\n
...
...
@@ -371,8 +371,7 @@ AAA=</string> </value>
</style:master-page>
\n
<style:master-page
style:name=
"Endnote"
style:page-layout-name=
"pm2"
/>
\n
</office:master-styles>
\n
</office:document-styles>
\n
</office:document-styles>
]]>
</unicode>
</value>
</item>
...
...
@@ -402,7 +401,7 @@ AAA=</string> </value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<
string></string
>
</value>
<value>
<
unicode></unicode
>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_trade/bt/revision
View file @
36162477
1181
\ No newline at end of file
1182
\ 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