[FIX] sale: set 'online signature' to true by default
- set field 'portal_confirmation_sign' to true by default and removed from demo data where it sets to true. before this commit: without demo data 'online signature' setting is false by default. after this commit: 'online signature' setting is true by default with or without demo data. Related to Issue: 1946116 closes odoo/odoo#32360 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
<!-- We want to activate pay and sign by default for easier demoing. -->
|
||||
<record id="base.main_company" model="res.company">
|
||||
<field name="portal_confirmation_sign" eval="True"/>
|
||||
<field name="portal_confirmation_pay" eval="True"/>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ from odoo import api, fields, models, _
|
||||
class ResCompany(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
portal_confirmation_sign = fields.Boolean(string='Online Signature')
|
||||
portal_confirmation_sign = fields.Boolean(string='Online Signature', default=True)
|
||||
portal_confirmation_pay = fields.Boolean(string='Online Payment')
|
||||
quotation_validity_days = fields.Integer(default=30, string="Default Quotation Validity (Days)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user