add comment field in project screen
This commit is contained in:
parent
1ebcea9b16
commit
a6c0817b11
|
@ -68,6 +68,7 @@ class Project(models.Model):
|
|||
consultant_timesheet_hrs = fields.One2many('consultant.timesheet.hrs', 'project_id', "Timesheet Hrs",
|
||||
copy=False, help="Consultant timesheet hours")
|
||||
project_cons_hrs = fields.One2many('project.consultant.hrs', 'project_id', 'Consultant Allocation', copy=False)
|
||||
comment = fields.Text(string='Comment')
|
||||
|
||||
def _onchange_calculate_timesheet_hours(self):
|
||||
self.consultant_timesheet_hrs = [(6, 0, False)]
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
<field name="project_type" attrs="{'invisible': [('pricing_type', '=', 'fixed_rate')]}"
|
||||
widget="radio"/>
|
||||
<field name="budgeted_revenue" required="1" />
|
||||
<field name="comment"/>
|
||||
<!-- attrs="{'invisible': [('pricing_type','=','fixed_rate')], 'required': [('pricing_type','!=','fixed_rate')]}"-->
|
||||
|
||||
<field name="hour_distribution" widget="radio"
|
||||
|
|
Loading…
Reference in New Issue