mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
FIX agreement_sale: oca remarks
This commit is contained in:
committed by
Pierrick Brun
parent
6c33c07c84
commit
8f00bc92d3
@@ -11,7 +11,7 @@
|
||||
'website': 'https://github.com/oca/contract',
|
||||
'license': 'AGPL-3',
|
||||
'depends': [
|
||||
'sale',
|
||||
'sale_management',
|
||||
'agreement',
|
||||
],
|
||||
'data': [
|
||||
|
||||
@@ -10,5 +10,5 @@ class SaleOrder(models.Model):
|
||||
|
||||
agreement_id = fields.Many2one(
|
||||
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)]})
|
||||
|
||||
Reference in New Issue
Block a user