[IMP] project: Remove project_color field
Taskid: 3231143 Part-of: odoo/odoo#115155
This commit is contained in:
committed by
Xavier Bol (xbo)
parent
df79208413
commit
c002e4176a
@@ -1199,7 +1199,6 @@ class Task(models.Model):
|
||||
'res.company', string='Company', compute='_compute_company_id', store=True, readonly=False,
|
||||
required=True, copy=True, default=_default_company_id)
|
||||
color = fields.Integer(string='Color Index')
|
||||
project_color = fields.Integer(related='project_id.color', string='Project Color')
|
||||
rating_active = fields.Boolean(string='Project Rating Status', related="project_id.rating_active")
|
||||
attachment_ids = fields.One2many('ir.attachment', compute='_compute_attachment_ids', string="Main Attachments",
|
||||
help="Attachments that don't come from a message.")
|
||||
|
||||
@@ -1499,11 +1499,11 @@
|
||||
<field name="mode">primary</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//calendar" position="attributes">
|
||||
<attribute name="color">project_color</attribute>
|
||||
<attribute name="color">project_id</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='project_id']" position="attributes">
|
||||
<attribute name="filters">1</attribute>
|
||||
<attribute name="color">color</attribute>
|
||||
<attribute name="color">id</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user