mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] agreement_sale
This commit is contained in:
committed by
Murtuza Saleh
parent
a9ce414c8b
commit
efb8d52076
@@ -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):
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<page name="signature" position="after">
|
<page name="signature" position="after">
|
||||||
<page name="sales" string="Sales">
|
<page name="sales" string="Sales">
|
||||||
<group>
|
<group>
|
||||||
<group id="sale_left">
|
<group id="sale-left">
|
||||||
<field name="sale_id" readonly="1"/>
|
<field name="sale_id" readonly="1"/>
|
||||||
</group>
|
</group>
|
||||||
<group id="sale-right"/>
|
<group id="sale-right"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user