FIX agreement_sale: oca remarks

This commit is contained in:
David Beal
2019-04-06 14:02:23 +02:00
committed by Pierrick Brun
parent 6c33c07c84
commit 8f00bc92d3
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
'website': 'https://github.com/oca/contract', 'website': 'https://github.com/oca/contract',
'license': 'AGPL-3', 'license': 'AGPL-3',
'depends': [ 'depends': [
'sale', 'sale_management',
'agreement', 'agreement',
], ],
'data': [ 'data': [

View File

@@ -10,5 +10,5 @@ class SaleOrder(models.Model):
agreement_id = fields.Many2one( agreement_id = fields.Many2one(
comodel_name='agreement', string='Agreement', ondelete='restrict', comodel_name='agreement', string='Agreement', ondelete='restrict',
track_visibility='onchange', readonly=True, track_visibility='onchange', readonly=True, copy=False,
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}) states={'draft': [('readonly', False)], 'sent': [('readonly', False)]})