Comment 5 for bug 602188

Revision history for this message
Numérigraphe (numerigraphe) wrote :

As it turns out, the fix committed by Stéphane won't work because the year is passed in the wrong context entry:
                 tmp_context = {
+<<<<<<< WRONG
                     'fiscal_year_id' : obj_inv.period_id.fiscalyear_id.id,
                     'test' : True,
+=======
+ 'fiscalyear_id': obj_inv.period_id.fiscalyear_id.id
+>>>>>>> RIGHT
                 }