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
Richard
erp5
Commits
403ee8b9
Commit
403ee8b9
authored
Feb 28, 2018
by
Tomáš Peterka
Committed by
Tomáš Peterka
Feb 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_mrp] Port Print actions to the new UI
parent
ef3c4df4
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
18 deletions
+26
-18
bt5/erp5_mrp/ActionTemplateItem/portal_types/Manufacturing%20Execution/packing_list_print.xml
...al_types/Manufacturing%20Execution/packing_list_print.xml
+5
-3
bt5/erp5_mrp/ActionTemplateItem/portal_types/Manufacturing%20Order/order_print.xml
...teItem/portal_types/Manufacturing%20Order/order_print.xml
+5
-3
bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Order/order_print.xml
...plateItem/portal_types/Production%20Order/order_print.xml
+5
-3
bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Packing%20List/packing_list_print.xml
..._types/Production%20Packing%20List/packing_list_print.xml
+5
-3
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_printAsODT.xml
...Item/portal_skins/erp5_mrp/ProductionOrder_printAsODT.xml
+1
-1
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewAsODT.oot
...eItem/portal_skins/erp5_mrp/ProductionOrder_viewAsODT.oot
+3
-3
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewAsODT.xml
...eItem/portal_skins/erp5_mrp/ProductionOrder_viewAsODT.xml
+1
-1
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_printAsODT.xml
...ortal_skins/erp5_mrp/ProductionPackingList_printAsODT.xml
+1
-1
No files found.
bt5/erp5_mrp/ActionTemplateItem/portal_types/Manufacturing%20Execution/packing_list_print.xml
View file @
403ee8b9
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_print
</string>
<string>
action_type/object_
jio_
print
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_print
</string>
</value>
<value>
<string>
object_
jio_
print
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_mrp/ActionTemplateItem/portal_types/Manufacturing%20Order/order_print.xml
View file @
403ee8b9
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_print
</string>
<string>
action_type/object_
jio_
print
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_print
</string>
</value>
<value>
<string>
object_
jio_
print
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Order/order_print.xml
View file @
403ee8b9
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_print
</string>
<string>
action_type/object_
jio_
print
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_print
</string>
</value>
<value>
<string>
object_
jio_
print
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Packing%20List/packing_list_print.xml
View file @
403ee8b9
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_print
</string>
<string>
action_type/object_
jio_
print
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_print
</string>
</value>
<value>
<string>
object_
jio_
print
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
@@ -30,7 +30,9 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_printAsODT.xml
View file @
403ee8b9
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
target_language=\'\', format=\'pdf\'
</string>
</value>
<value>
<string>
target_language=\'\', format=\'pdf\'
, **kwargs
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewAsODT.oot
View file @
403ee8b9
<office:document-content xmlns:office='urn:oasis:names:tc:opendocument:xmlns:office:1.0' xmlns:text='urn:oasis:names:tc:opendocument:xmlns:text:1.0' xmlns:number='urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0' xmlns:meta='urn:oasis:names:tc:opendocument:xmlns:meta:1.0' xmlns:tal='http://xml.zope.org/namespaces/tal' xmlns:table='urn:oasis:names:tc:opendocument:xmlns:table:1.0' xmlns:style='urn:oasis:names:tc:opendocument:xmlns:style:1.0' xmlns:script='urn:oasis:names:tc:opendocument:xmlns:script:1.0' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:math='http://www.w3.org/1998/Math/MathML' xmlns:draw='urn:oasis:names:tc:opendocument:xmlns:drawing:1.0' xmlns:form='urn:oasis:names:tc:opendocument:xmlns:form:1.0' xmlns:ooo='http://openoffice.org/2004/office' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:chart='urn:oasis:names:tc:opendocument:xmlns:chart:1.0' xmlns:i18n='http://xml.zope.org/namespaces/i18n' xmlns:dr3d='urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0' xmlns:fo='urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0' xmlns:xforms='http://www.w3.org/2002/xforms' xmlns:dom='http://www.w3.org/2001/xml-events' xmlns:ooow='http://openoffice.org/2004/writer' xmlns:svg='urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0' xmlns:metal='http://xml.zope.org/namespaces/metal' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:oooc='http://openoffice.org/2004/calc' tal:attributes='dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")' office:version='1.0'
tal:define="data_dict here/ProductionOrder_getODTDataDict;
set_precision python: request.set('precision', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));
quantity_renderer nocall:here/
ProductionOrderLine_view
FieldLibrary/my_quantity/render_pdf;
price_renderer nocall:here/
ProductionOrderLine_view
FieldLibrary/my_price/render_pdf;
quantity_renderer nocall:here/
Base_viewMRP
FieldLibrary/my_quantity/render_pdf;
price_renderer nocall:here/
Base_viewMRP
FieldLibrary/my_price/render_pdf;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())">
<office:scripts/>
<office:font-face-decls>
...
...
@@ -635,4 +635,4 @@
<text:p text:style-name='P4'/>
</office:text>
</office:body>
</office:document-content>
</office:document-content>
\ No newline at end of file
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewAsODT.xml
View file @
403ee8b9
...
...
@@ -70,7 +70,7 @@ AAA=</string> </value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<
string></string
>
</value>
<value>
<
unicode></unicode
>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_printAsODT.xml
View file @
403ee8b9
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
target_language=\'\', format=\'pdf\'
</string>
</value>
<value>
<string>
target_language=\'\', format=\'pdf\'
, **kwargs
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
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