diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-31 14:11:14 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-09-01 11:32:52 +0200 |
| commit | a9875b03dd9332019174fcd90425e432d6fd924b (patch) | |
| tree | c24bceb56cef1ace97d2bd518c11e6de01356f6b /addons/website/static/lib/jquery.mjs.nestedSortable | |
| parent | eb440baab25522d353152243d6f2584fac80e726 (diff) | |
[IMP] sale: Only create analytic line on Sales Order
Before creating a account analytic line related to a sale order, check that the sale order is in 'sale' state, i.e. not a quotation, not in done or canceled state.
The issue is that when validating an expense (for example, but it's the same for a timesheet), the analytic account line is created even if related to a canceled sale order which is obviously wrong. This was leading to confusions about what's displayed, what is existing and not displayed and whatever.
This was the behavior before this commit 48ea59d46e26b7b5a8eebfe06740482f1a263d72
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
