Browse Source
Merge pull request #256 from ursais/11.0-add-agreement-sale
[FIX] agreement_sale
pull/257/head
Maxime Chambreuil
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
agreement_sale/models/sale_order.py
-
agreement_sale/views/agreement.xml
|
|
@ -11,7 +11,7 @@ class SaleOrder(models.Model): |
|
|
|
'agreement', |
|
|
|
string="Agreement Template", |
|
|
|
domain="[('is_template', '=', True)]") |
|
|
|
agreement_id = fields.Many2one('agreement', string="Agreement") |
|
|
|
agreement_id = fields.Many2one('agreement', string="Agreement", copy=False) |
|
|
|
|
|
|
|
@api.multi |
|
|
|
def _action_confirm(self): |
|
|
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
<page name="signature" position="after"> |
|
|
|
<page name="sales" string="Sales"> |
|
|
|
<group> |
|
|
|
<group id="sale_left"> |
|
|
|
<group id="sale-left"> |
|
|
|
<field name="sale_id" readonly="1"/> |
|
|
|
</group> |
|
|
|
<group id="sale-right"/> |
|
|
|