Commit 8141c716 authored by Nicolas Delaby's avatar Nicolas Delaby

Fix default values

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19600 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d4d40967
...@@ -44,9 +44,9 @@ def escapeString(string): ...@@ -44,9 +44,9 @@ def escapeString(string):
def printBarcodeSheet(self, sheet_number=1, input_list=[], test=False): def printBarcodeSheet(self, sheet_number=1, input_list=[], test=False):
unit = 'mm' unit = 'mm'
code = self.getCodingType() or 0 code = self.getCodingType() or 'code128'
row_number = self.getRowNumber() or 0 row_number = self.getRowNumber() or 0
column_number = self.getColumnNumber() column_number = self.getColumnNumber() or 0
page_left_margin = self.getPageLeftMargin() or 10 page_left_margin = self.getPageLeftMargin() or 10
page_bottom_margin = self.getPageBottomMargin() or 10 page_bottom_margin = self.getPageBottomMargin() or 10
page_right_margin = self.getPageRightMargin() or 10 page_right_margin = self.getPageRightMargin() or 10
......
5 7
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment