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
Labels
Merge Requests
137
Merge Requests
137
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
4e9ef4f7
Commit
4e9ef4f7
authored
Aug 26, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset base unit price when reseting price
parent
6b7cf491
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_resetMovementPriceList.xml
...rtal_skins/erp5_trade/Delivery_resetMovementPriceList.xml
+1
-1
bt5/erp5_trade/bt/revision
bt5/erp5_trade/bt/revision
+1
-1
No files found.
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_resetMovementPriceList.xml
View file @
4e9ef4f7
...
@@ -59,7 +59,7 @@ portal_type_list = portal.getPortalInvoiceMovementTypeList() \\\n
...
@@ -59,7 +59,7 @@ portal_type_list = portal.getPortalInvoiceMovementTypeList() \\\n
+ portal.getPortalOrderMovementTypeList() \\\n
+ portal.getPortalOrderMovementTypeList() \\\n
+ portal.getPortalDeliveryMovementTypeList()\n
+ portal.getPortalDeliveryMovementTypeList()\n
for movement in context.getMovementList(portal_type=portal_type_list):\n
for movement in context.getMovementList(portal_type=portal_type_list):\n
movement.edit(price=None)\n
movement.edit(price=None
, base_unit_price=None
)\n
\n
\n
if not batch_mode:\n
if not batch_mode:\n
message = context.Base_translateString(\'Prices reset.\')\n
message = context.Base_translateString(\'Prices reset.\')\n
...
...
bt5/erp5_trade/bt/revision
View file @
4e9ef4f7
1172
1173
\ 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