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
Boxiang Sun
slapos.core
Commits
efd0b05d
Commit
efd0b05d
authored
Jan 31, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only build payment related to payzen invoice.
parent
c28601c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
master/bt5/slapos_payzen/PathTemplateItem/accounting_module/template_sale_invoice_transaction.xml
...m/accounting_module/template_sale_invoice_transaction.xml
+1
-0
master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/OrderBuilder_generateUnrelatedInvoiceList.xml
...apos_payzen/OrderBuilder_generateUnrelatedInvoiceList.xml
+2
-1
master/bt5/slapos_payzen/bt/revision
master/bt5/slapos_payzen/bt/revision
+1
-1
No files found.
master/bt5/slapos_payzen/PathTemplateItem/accounting_module/template_sale_invoice_transaction.xml
View file @
efd0b05d
...
@@ -94,6 +94,7 @@
...
@@ -94,6 +94,7 @@
<string>
source_section/organisation_module/slapos
</string>
<string>
source_section/organisation_module/slapos
</string>
<string>
price_currency/currency_module/EUR
</string>
<string>
price_currency/currency_module/EUR
</string>
<string>
resource/currency_module/EUR
</string>
<string>
resource/currency_module/EUR
</string>
<string>
payment_mode/payzen
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
master/bt5/slapos_payzen/SkinTemplateItem/portal_skins/slapos_payzen/OrderBuilder_generateUnrelatedInvoiceList.xml
View file @
efd0b05d
...
@@ -61,6 +61,7 @@ select_kw.pop(\'delivery_relative_url_list\', None)\n
...
@@ -61,6 +61,7 @@ select_kw.pop(\'delivery_relative_url_list\', None)\n
select_kw.update(\n
select_kw.update(\n
portal_type=\'Sale Invoice Transaction\',\n
portal_type=\'Sale Invoice Transaction\',\n
simulation_state=\'stopped\',\n
simulation_state=\'stopped\',\n
default_payment_mode_uid=portal.portal_categories.payment_mode.payzen.getUid(),\n
limit=10, # do only some in one shot\n
limit=10, # do only some in one shot\n
select_dict=select_dict,\n
select_dict=select_dict,\n
left_join_list=select_dict.keys(),\n
left_join_list=select_dict.keys(),\n
...
@@ -85,7 +86,7 @@ for invoice in portal.portal_catalog(**select_kw):\n
...
@@ -85,7 +86,7 @@ for invoice in portal.portal_catalog(**select_kw):\n
start_date=invoice.getStartDate(),\n
start_date=invoice.getStartDate(),\n
stop_date=invoice.getStopDate(),\n
stop_date=invoice.getStopDate(),\n
specialise=invoice.getSpecialise(),\n
specialise=invoice.getSpecialise(),\n
payment_mode=
\'payzen\'
,\n
payment_mode=
invoice.getPaymentMode()
,\n
source_payment=\'organisation_module/slapos/bank_account\', # the other place defnied: business process\n
source_payment=\'organisation_module/slapos/bank_account\', # the other place defnied: business process\n
)\n
)\n
temp_movement_rec = newTempSimulationMovement(\n
temp_movement_rec = newTempSimulationMovement(\n
...
...
master/bt5/slapos_payzen/bt/revision
View file @
efd0b05d
106
107
\ No newline at end of file
\ 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