[IMP] Fixed with context bug.

This commit is contained in:
Benjamin Lechalupe 2019-06-12 18:44:10 +02:00
parent da3086d6fd
commit e2b3bf6fd7

View File

@ -4,9 +4,8 @@ from odoo import models, fields, api
class ProjectProject(models.Model):
_inherit = "project.project"
@api.model
@api.multi
def open_timesheets_matrix(self):
import pdb; pdb.set_trace()
wiz = self.env['project.timesheet.matrix.wiz'].create({})
return {
'name': 'Edit timesheets',