← Back to team overview

openerp-community team mailing list archive

OpenERP 7.0 - Preview Header/ Footer issue

 

Hi,

I have downloaded & installed OpenERP 7.0 from the source and has set it up too.

I login as admin & Proceed to, Settings --> Companies --> Companies

I fill in few fields there & when I click on 'Preview Header/ Footer', I get the following error.

---------
Not enough space
handle_pageBegin args=()

(<type 'exceptions.ValueError'>, ValueError('Not enough space\n handle_pageBegin args=()',), <traceback object at 0x7ff5ac450fc8>)
---------

What might be the reason? Should I make some modifications to report/render/rml2pdf/trml2pdf.py in the section below?

-----
def ___handle_pageBegin(self):
        self.page += 1
        self.pageTemplate.beforeDrawPage(self.canv,self)
        self.pageTemplate.checkPageSize(self.canv,self)
        self.pageTemplate.onPage(self.canv,self)
        for f in self.pageTemplate.frames: f._reset()
        self.beforePage()
        self._curPageFlowableCount = 0
        if hasattr(self,'_nextFrameIndex'):
            del self._nextFrameIndex
        for f in self.pageTemplate.frames:
            if f.id == 'first':
                self.frame = f
                break
        self.handle_frameBegin()
-----

The same issue occurs when Printing an Invoice too. Hope it will continue everywhere else to while printing.


--

Sri Ramadoss M
http://amachu.in


Follow ups