bzr revid: apa@tinyerp.com-20120410124225-j0cnku20zpx76cbh
This commit is contained in:
Amit Patel (OpenERP) 2012-04-10 18:12:25 +05:30
parent af9a103d1f
commit 2d8773b569
1 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,6 @@ openerp.project_timesheet = function(openerp) {
if(include(this.view.fields_keys,"issues"))
{
if(!this.record.task.raw_value && !this.record.issues.raw_value && this.record.timesheets.raw_value)$(this.$element).find('.click_button').attr('data-name','open_timesheets');
//if(!this.record.task.raw_value)$(this.$element).find('.click_button').attr('data-name','dummy');
};
if(this.record.task.raw_value && this.record.timesheets.raw_value)$(this.$element).find('.click_button').attr('data-name','open_tasks');
};