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
Bryan Kaperick
erp5
Commits
a4ed1a23
Commit
a4ed1a23
authored
Oct 16, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use accessor to fetch property.
Do not raise exception if user is not allowed to access the Trade Condition
parent
12ffcbad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
...teItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
+2
-2
bt5/erp5_base/bt/revision
bt5/erp5_base/bt/revision
+1
-1
No files found.
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml
View file @
a4ed1a23
...
@@ -224,7 +224,7 @@ for line in getSubLineList(context):\n
...
@@ -224,7 +224,7 @@ for line in getSubLineList(context):\n
\'stop_date\': getOrderedDate(line.getStopDate()) or \'\',\n
\'stop_date\': getOrderedDate(line.getStopDate()) or \'\',\n
\'base_price\': line.getPrice() or \'\',\n
\'base_price\': line.getPrice() or \'\',\n
\'total_price\': line.getTotalPrice() or 0,\n
\'total_price\': line.getTotalPrice() or 0,\n
\'specialise_title\' : line.get
Property(\'specialise_title\', \'
\'),\n
\'specialise_title\' : line.get
SpecialiseTitle(checked_permission=\'Access Content Information
\'),\n
}\n
}\n
\n
\n
if line_dict[\'use_type_tax\']:\n
if line_dict[\'use_type_tax\']:\n
...
@@ -457,7 +457,7 @@ data_dict = {\n
...
@@ -457,7 +457,7 @@ data_dict = {\n
\'vat_list\': total_vat,\n
\'vat_list\': total_vat,\n
\'vat_total_price\':total_vat_price,\n
\'vat_total_price\':total_vat_price,\n
\'description\': getFieldAsLineList(context.getDescription()),\n
\'description\': getFieldAsLineList(context.getDescription()),\n
\'specialise_title\'
: context.getProperty(\'specialise_title\',\'
\'),\n
\'specialise_title\'
: context.getSpecialiseTitle(checked_permission=\'Access Content Information
\'),\n
\'line_vat\':line_vat,\n
\'line_vat\':line_vat,\n
\'line_not_vat\':line_not_vat,\n
\'line_not_vat\':line_not_vat,\n
\'line_list\': line_list,\n
\'line_list\': line_list,\n
...
...
bt5/erp5_base/bt/revision
View file @
a4ed1a23
1028
1029
\ 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