Merge branch 'feedback_28july' into 'copy_master'
Feedback 28july See merge request prakash.jain/cor-odoo!234
This commit is contained in:
commit
affd325a7d
|
@ -255,8 +255,8 @@ class AccountAnalyticLine(models.Model):
|
|||
value._onchange_start_end_date_time()
|
||||
if value.unit_amount == 0.0:
|
||||
raise ValidationError(_("Your can not fill 0.0 hour entry"))
|
||||
if value.unit_amount >= 24.0:
|
||||
raise ValidationError(_("Your can not fill more than 24.0 hour entry"))
|
||||
# if value.unit_amount >= 24.0:
|
||||
# raise ValidationError(_("Your can not fill more than 24.0 hour entry"))
|
||||
return value
|
||||
|
||||
def write(self, vals):
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<field name="date" readonly="1" invisible="1"/>
|
||||
<field name="employee_id" invisible="1"/>
|
||||
<!--<field name="project_ids" widget="many2many_tags"/>-->
|
||||
<field name="project_id" required="1" options="{'no_create_edit': True}"
|
||||
<field name="project_id" required="1" options="{'no_open': True, 'no_create': True, 'no_create_edit': True}"
|
||||
context="{'form_view_ref': 'project.project_project_view_form_simplified',}"
|
||||
/>
|
||||
<field name="sub_project" options="{'no_open': True, 'no_create': True, 'no_create_edit': True}"/>
|
||||
|
|
Loading…
Reference in New Issue