Review: Needs Fixing

hello,

*use context in browse and write method calls,

*you missed out to pass context=ctx in following compute method call of 
account.payment.term object
                totlines = self.pool.get('account.payment.term').compute(cr,
                        uid, inv.payment_term.id, total, inv.date_invoice or 
False)

*better you pool required objects at the beginning of method definition

* We don't want this change!!
        -    def move_line_get(self, cr, uid, invoice_id):
59      +    def move_line_get(self, cr, uid, invoice_id, context=None):

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-710533-bde/+merge/85293
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-710533-bde.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to