Skip to content

Commit

Permalink
[FIX] business_requirement_deliverable: Remove track visibility + use…
Browse files Browse the repository at this point in the history
…less selection

If you track that field + hide prices for users, hidden information is revealed in chatter!
  • Loading branch information
pedrobaeza committed Nov 13, 2019
1 parent 268191a commit ebcac5a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions business_requirement_deliverable/models/business.py
Expand Up @@ -16,14 +16,6 @@ class BusinessRequirementDeliverable(models.Model):
sequence = fields.Integer('Sequence')
state = fields.Selection(
related='business_requirement_id.state',
selection=[('draft', 'Draft'),
('confirmed', 'Confirmed'),
('approved', 'Approved'),
('in_progress', 'In progress'),
('done', 'Done'),
('cancel', 'Cancel'),
('drop', 'Drop'),
],
store=True,
)
name = fields.Text('Name', required=True)
Expand Down Expand Up @@ -68,7 +60,6 @@ class BusinessRequirementDeliverable(models.Model):
string='Total Deliverable',
store=True,
readonly=True,
track_visibility='onchange'
)
currency_id = fields.Many2one(
comodel_name='res.currency',
Expand Down

0 comments on commit ebcac5a

Please sign in to comment.