diff --git a/ext/custom-addons/dp_custom/models/sale.py b/ext/custom-addons/dp_custom/models/sale.py index 2811dd09..74bfac79 100644 --- a/ext/custom-addons/dp_custom/models/sale.py +++ b/ext/custom-addons/dp_custom/models/sale.py @@ -59,6 +59,7 @@ class SaleCart(models.Model): client_order_ref = fields.Char(string='Customer Reference') name = fields.Char(string='Quotation') date_order = fields.Date(string='Quotation Date:') + create_date = fields.Datetime(string='Create Date:') partner_id = fields.Many2one('res.partner', string = 'Customer') company_id = fields.Many2one('res.company', string = 'Company') user_id = fields.Many2one('res.users', string = 'User') @@ -84,6 +85,7 @@ class SaleCart(models.Model): so.origin AS origin, so.client_order_ref AS client_order_ref, so.date_order AS date_order, + so.create_date AS create_date, so.assembly_state AS assembly_state, so.state AS state, so.partner_id AS partner_id, diff --git a/ext/custom-addons/dp_custom/views/sale_views.xml b/ext/custom-addons/dp_custom/views/sale_views.xml index eb2e494c..1809a603 100644 --- a/ext/custom-addons/dp_custom/views/sale_views.xml +++ b/ext/custom-addons/dp_custom/views/sale_views.xml @@ -346,6 +346,7 @@ +