[IMP] Fixed with context bug.
This commit is contained in:
parent
da3086d6fd
commit
e2b3bf6fd7
@ -4,9 +4,8 @@ from odoo import models, fields, api
|
|||||||
class ProjectProject(models.Model):
|
class ProjectProject(models.Model):
|
||||||
_inherit = "project.project"
|
_inherit = "project.project"
|
||||||
|
|
||||||
@api.model
|
@api.multi
|
||||||
def open_timesheets_matrix(self):
|
def open_timesheets_matrix(self):
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
wiz = self.env['project.timesheet.matrix.wiz'].create({})
|
wiz = self.env['project.timesheet.matrix.wiz'].create({})
|
||||||
return {
|
return {
|
||||||
'name': 'Edit timesheets',
|
'name': 'Edit timesheets',
|
||||||
|
Loading…
Reference in New Issue
Block a user