← Back to team overview

openerp-india team mailing list archive

[Bug 1251499] [NEW] Can't print a Quotation with a Long Product Description

 

You have been subscribed to a public bug:

Step 1: Create a new quotation
Step 2: Add a product
Step 3: Add a long description. I used 2-5 repeats of the Lorum Ipsum paragraph ("Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.")
Step 4: Save product
Step 5: Save Quotation
Step 6: Click the "Print" button

At this point, the system repeatedly gets hung up. Sometimes I get the
endless "loading" message. Other times I get error messages like "list
index out of range ?>type 'exceptions.IndexError'> IndexError('list
index out of range')<traceback object at 0x7f7604f1e758>)" or
"'NoneType' object has not attribute 'close' (type
'exceptions.AttributeError'> AttributeError("'NoneType' object has no
attribute 'close'",), <traceback object at 0x7fd56f997998>)"

Step 7: Update the product description to only have 1 repeat of the Lorum Ipsum paragraph
Step 8: Save product
Step 9: Save Quotation
Step 10: Click the Print button

With this shorter description, the quotation printed fine. I noticed
that one version of lorum ipsum just barely fit on one full page of the
PDF output file.

Using OpenERP version 7, Ubuntu version 12.04.3

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
Can't print a Quotation with a Long Product Description
https://bugs.launchpad.net/bugs/1251499
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons.