diff options
| author | Hetashree Chauhan <hch@odoo.com> | 2019-07-01 05:36:19 +0000 |
|---|---|---|
| committer | Barad Mahendra <mba@openerp.com> | 2019-08-13 09:40:12 +0000 |
| commit | 0cc30bf08382128a77455a51d831ef45ccdfdb48 (patch) | |
| tree | 384d70dc10635743b8e8de4ff78f4d7f928392ed /addons/sale_crm | |
| parent | e87cec8c4960f8286226fd15ec0fae4e4612b47f (diff) | |
[IMP] sale(_*): replace confirmation date with order date
* pos_sale, sale, sale_crm, sale_management, sale_stock, website_sale
Purpose of this commit is replace the confirmation date field with
order date from sale. As order_date and confirmation_date of sale order
are having same value so no need to keep two fields, remove confirmation
field and instead use order date.
cretae_date use as order Date and replace the order_date on confirmation
of the order as confirmation date.
task-2027274
closes: #34571
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/sale_crm')
| -rw-r--r-- | addons/sale_crm/models/crm_team.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_crm/models/crm_team.py b/addons/sale_crm/models/crm_team.py index 183f6cc03a2..1138d897262 100644 --- a/addons/sale_crm/models/crm_team.py +++ b/addons/sale_crm/models/crm_team.py @@ -25,7 +25,7 @@ class CrmTeam(models.Model): def _graph_date_column(self): if self.use_opportunities and self._context.get('in_sales_app'): - return 'confirmation_date' + return 'date_order' return super(CrmTeam,self)._graph_date_column() def _graph_y_query(self): |
