Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
abee3360
Commit
abee3360
authored
Apr 22, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_rss_style: Add RSS form for invoices
parent
c9f03d44
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3470 additions
and
0 deletions
+3470
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSDescription.py
...pos_rss_style/SaleInvoiceTransaction_getRSSDescription.py
+7
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSDescription.xml
...os_rss_style/SaleInvoiceTransaction_getRSSDescription.xml
+62
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSTitle.py
...ns/slapos_rss_style/SaleInvoiceTransaction_getRSSTitle.py
+13
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSTitle.xml
...s/slapos_rss_style/SaleInvoiceTransaction_getRSSTitle.xml
+62
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb.xml
..._style/WebSection_viewSaleInvoiceTransactionListAsWeb.xml
+139
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox.xml
...ebSection_viewSaleInvoiceTransactionListAsWeb/listbox.xml
+276
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox_description.xml
...ewSaleInvoiceTransactionListAsWeb/listbox_description.xml
+279
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox_modification_date.xml
...InvoiceTransactionListAsWeb/listbox_modification_date.xml
+2353
-0
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox_title.xml
...ion_viewSaleInvoiceTransactionListAsWeb/listbox_title.xml
+279
-0
No files found.
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSDescription.py
0 → 100644
View file @
abee3360
msg
=
context
.
Base_translateString
(
"You have a new invoice %s, please access the our website for more information:"
)
%
context
.
getReference
()
return
"""%s
%s
"""
%
(
msg
,
context
.
Base_getTicketUrl
())
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSDescription.xml
0 → 100644
View file @
abee3360
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SaleInvoiceTransaction_getRSSDescription
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSTitle.py
0 → 100644
View file @
abee3360
web_site
=
context
.
getWebSiteValue
()
if
web_site
is
None
:
# We must status
prefix
=
""
else
:
prefix
=
"[%s] "
%
web_site
.
getTitle
()
prefix
+=
"%s"
%
context
.
Base_translateString
(
"Invoice"
)
return
"%s %s - (%s)"
%
(
prefix
,
context
.
getReference
(),
context
.
getStartDate
().
strftime
(
"%d/%m/%Y"
))
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/SaleInvoiceTransaction_getRSSTitle.xml
0 → 100644
View file @
abee3360
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SaleInvoiceTransaction_getRSSTitle
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb.xml
0 → 100644
View file @
abee3360
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list>
<string>
listbox
</string>
</list>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list>
<string>
listbox_modification_date
</string>
<string>
listbox_title
</string>
<string>
listbox_description
</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_viewSaleInvoiceTransactionListAsWeb
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
AccountingModule_viewSaleInvoiceTransactionListAsWeb
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_list
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View Invoices as RSS Feed
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox.xml
0 → 100644
View file @
abee3360
This diff is collapsed.
Click to expand it.
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox_description.xml
0 → 100644
View file @
abee3360
This diff is collapsed.
Click to expand it.
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox_modification_date.xml
0 → 100644
View file @
abee3360
This diff is collapsed.
Click to expand it.
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewSaleInvoiceTransactionListAsWeb/listbox_title.xml
0 → 100644
View file @
abee3360
This diff is collapsed.
Click to expand it.
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