diff --git a/addons/website_quote/models/sale_order.py b/addons/website_quote/models/sale_order.py index 5a0b1a9492e..b8f271102b6 100644 --- a/addons/website_quote/models/sale_order.py +++ b/addons/website_quote/models/sale_order.py @@ -67,7 +67,7 @@ class SaleOrder(models.Model): (0, 'Not mandatory on website quote validation'), (1, 'Immediate after website order validation'), (2, 'Immediate after website order validation and save a token'), - ], 'Payment', help="Require immediate payment by the customer when validating the order from the website quote") + ], 'Payment', default=0, help="Require immediate payment by the customer when validating the order from the website quote") @api.multi def copy(self, default=None): diff --git a/addons/website_quote/models/sale_quote.py b/addons/website_quote/models/sale_quote.py index ff7b1f04ab3..ba021a4e481 100644 --- a/addons/website_quote/models/sale_quote.py +++ b/addons/website_quote/models/sale_quote.py @@ -21,7 +21,7 @@ class SaleQuoteTemplate(models.Model): (0, 'Not mandatory on website quote validation'), (1, 'Immediate after website order validation'), (2, 'Immediate after website order validation and save a token'), - ], 'Payment', help="Require immediate payment by the customer when validating the order from the website quote") + ], 'Payment', default=0, help="Require immediate payment by the customer when validating the order from the website quote") mail_template_id = fields.Many2one( 'mail.template', 'Confirmation Mail', domain=[('model', '=', 'sale.order')],