WE2BS / openerp-rent

This OpenERP6 module manages the leasing of products to partners.
http://doc.we2bs.com/openerp-rent/
GNU General Public License v3.0
17 stars 10 forks source link

NameError: global name 'line_price_price_factor' is not defined (Line 944, run_cron_make_invoices) #25

Closed jeffisnotdead closed 12 years ago

jeffisnotdead commented 12 years ago

Automatic bug report :

Traceback (most recent call last):

  File "/usr/share/pyshared/openerp-server/addons/openlib/github.py", line 68, in wrapper
    result = func(*args, **kwargs)

  File "/usr/share/pyshared/openerp-server/addons/rent/rent.py", line 944, in run_cron_make_invoices
    invoice_id = self.get_invoice_at(cr, uid, order, invoice_data)

  File "/usr/share/pyshared/openerp-server/addons/openlib/github.py", line 68, in wrapper
    result = func(*args, **kwargs)

  File "/usr/share/pyshared/openerp-server/addons/rent/rent.py", line 647, in get_invoice_at
    data['price_factor'], first_invoice=(data['invoice_number'] == 1))

  File "/usr/share/pyshared/openerp-server/addons/openlib/github.py", line 68, in wrapper
    result = func(*args, **kwargs)

  File "/usr/share/pyshared/openerp-server/addons/rent_rtz/rent.py", line 136, in get_invoice_lines_data
    result = super(RentOrderRtzLine, self).get_invoice_lines_data(cr, uid, ids, line_price_price_factor, first_invoice, context)

NameError: global name 'line_price_price_factor' is not defined

Platform: Linux-2.6.35-32-generic-i686-with-Ubuntu-10.10-maverick Python Version: 2.6.6