diff options
| author | Laurent Smet <las@odoo.com> | 2020-01-02 13:32:57 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2020-01-08 10:39:12 +0000 |
| commit | a6b137a4c015f37a8764ebd71d77954551b7d2f5 (patch) | |
| tree | a12a3e9bbeac816ff6e3f948d4cc33a57a6c851b /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a402dba783f35d533f172e63199ff507db908b71 (diff) | |
[FIX] account: Fix next sequence number on invoices
- Create a journal.
- Create a vendor bill on this journal.
=> Odoo allows you to set a starting sequence number for your invoice.
This number must always use the sequence used when posting the invoice.
However, the invoice date was taken instead of the accounting date.
Before this commit, when setting an invoice date at Y and an accounting date at Y - 1,
the edited sequence was the one in Y - 1 but at the one in Y was used at the validation.
Manual forward-port of 42579
closes odoo/odoo#42914
X-original-commit: 525b5b1a8676e4d1ed1082505c33afb29fed6a42
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
