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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
erp5
Commits
263e3a3b
Commit
263e3a3b
authored
Dec 12, 2019
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_document_scanner: Rename property to be more consistent
parent
332347c6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_scanner_conversion_brightness_property.xml
...referred_image_scanner_conversion_brightness_property.xml
+1
-1
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_scanner_conversion_compression_property.xml
...eferred_image_scanner_conversion_compression_property.xml
+1
-1
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_scanner_conversion_contrast_property.xml
.../preferred_image_scanner_conversion_contrast_property.xml
+1
-1
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_scanner_conversion_enable_greyscale_property.xml
...ed_image_scanner_conversion_enable_greyscale_property.xml
+1
-1
bt5/erp5_document_scanner/SkinTemplateItem/portal_skins/erp5_document_scanner/Base_getPreferredImageSettingsFromPreference.py
...t_scanner/Base_getPreferredImageSettingsFromPreference.py
+4
-4
No files found.
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_conversion_brightness_property.xml
→
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_
scanner_
conversion_brightness_property.xml
View file @
263e3a3b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
preferred_image_conversion_brightness_property
</string>
</value>
<value>
<string>
preferred_image_
scanner_
conversion_brightness_property
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
mode
</string>
</key>
<key>
<string>
mode
</string>
</key>
...
...
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_conversion_compression_property.xml
→
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_
scanner_
conversion_compression_property.xml
View file @
263e3a3b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
preferred_image_conversion_compression_property
</string>
</value>
<value>
<string>
preferred_image_
scanner_
conversion_compression_property
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
mode
</string>
</key>
<key>
<string>
mode
</string>
</key>
...
...
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_conversion_contrast_property.xml
→
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_
scanner_
conversion_contrast_property.xml
View file @
263e3a3b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
preferred_image_conversion_contrast_property
</string>
</value>
<value>
<string>
preferred_image_
scanner_
conversion_contrast_property
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
mode
</string>
</key>
<key>
<string>
mode
</string>
</key>
...
...
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_conversion_enable_greyscale_property.xml
→
bt5/erp5_document_scanner/PropertySheetTemplateItem/portal_property_sheets/DocumentScannerPreference/preferred_image_
scanner_
conversion_enable_greyscale_property.xml
View file @
263e3a3b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
preferred_image_conversion_enable_greyscale_property
</string>
</value>
<value>
<string>
preferred_image_
scanner_
conversion_enable_greyscale_property
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
mode
</string>
</key>
<key>
<string>
mode
</string>
</key>
...
...
bt5/erp5_document_scanner/SkinTemplateItem/portal_skins/erp5_document_scanner/Base_getPreferredImageSettingsFromPreference.py
View file @
263e3a3b
...
@@ -6,10 +6,10 @@ if not active_preference:
...
@@ -6,10 +6,10 @@ if not active_preference:
active_preference
=
portal
.
portal_preferences
.
getActivePreference
()
active_preference
=
portal
.
portal_preferences
.
getActivePreference
()
setting_dict
=
{
setting_dict
=
{
"compression"
:
active_preference
.
getPreferredImageConversionCompression
(),
"compression"
:
active_preference
.
getPreferredImage
Scanner
ConversionCompression
(),
"enable_greyscale"
:
active_preference
.
getPreferredImageConversionEnableGreyscale
(),
"enable_greyscale"
:
active_preference
.
getPreferredImage
Scanner
ConversionEnableGreyscale
(),
"brightness"
:
active_preference
.
getPreferredImageConversionBrightness
(),
"brightness"
:
active_preference
.
getPreferredImage
Scanner
ConversionBrightness
(),
"contrast"
:
active_preference
.
getPreferredImageConversionContrast
(),
"contrast"
:
active_preference
.
getPreferredImage
Scanner
ConversionContrast
(),
}
}
return
json
.
dumps
(
setting_dict
)
return
json
.
dumps
(
setting_dict
)
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