|
@ -11,7 +11,7 @@ class SaleOrder(models.Model): |
|
|
'agreement', |
|
|
'agreement', |
|
|
string="Agreement Template", |
|
|
string="Agreement Template", |
|
|
domain="[('is_template', '=', True)]") |
|
|
domain="[('is_template', '=', True)]") |
|
|
agreement_id = fields.Many2one('agreement', string="Agreement") |
|
|
|
|
|
|
|
|
agreement_id = fields.Many2one('agreement', string="Agreement", copy=False) |
|
|
|
|
|
|
|
|
@api.multi |
|
|
@api.multi |
|
|
def _action_confirm(self): |
|
|
def _action_confirm(self): |
|
|