summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-09-22 18:21:19 +0200
committerDenis Ledoux <dle@odoo.com>2015-09-22 18:31:34 +0200
commit6adc5d25a84aad725748c561b159ad1e3bae11fd (patch)
tree0463b716bfde3b81aa0ea62882e1dfae82e5659b /addons/web_editor/static/src/js/transcoder.js
parent71d03fa5b2b4fb75edfad7caab912f391a2dc27f (diff)
[FIX] account, ir.sequence: compatibility for accounting sequences using today's date.
In saas-6, the `ir_sequence_date` key in the context has been introduced, to use this date instead of the current date for sequences including date variables (Year, month, day, ...). So, when an invoice is created for a previous fiscal year / period, the sequence is built according to the date of this fiscal year / period. e.g., for an invoice sequence containing the year, for an invoice created in 2015, but which is for the 2014 fiscal year, the sequence contains 2014 instead of 2015. Nevertheless, this leads to a retro-compatibility issue: the impossibiliy to use the current date for your invoices sequences. Indeed, some users want to include the current month and day in their invoices sequences, e.g. xxx-20150922. This revision brings the possibility to use both possible dates, the beginning of the date range or the current date. opw-649487
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions