bug in account/account.py
Bug #655793 reported by
Leigh Willard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There is at least one place that calls post without a context, which causes the routine to crash.
Here is the BEFORE:
def post(self, cr, uid, ids, context=None):
invoice = context.
(note that context gets set to None by default)
Here is the FIX:
def post(self, cr, uid, ids, context={}):
invoice = context.
Related branches
Changed in openobject-addons: | |
status: | New → Confirmed |
milestone: | none → 6.0 |
To post a comment you must log in.
hi could be better
def post(self, cr, uid, ids, context=None):
if context == None:
context = {}
Regards