diff options
| author | Laurent Smet <las@odoo.com> | 2019-09-27 12:28:43 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2019-09-27 12:28:43 +0000 |
| commit | 05c349056f6e00ae9a27324c2d3c995c138adc66 (patch) | |
| tree | 73558938db2647a014beac6f2e730ece92ac1762 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 05b50842a43aac69e86168bba00d8f92a5457d3a (diff) | |
[FIX] account: Fix tax cash basis entry
Suppose a tax cash basis without account_id set on any repartition lines.
Before this commit, the generation of the cash basis entry failed because
odoo tried to create an account.move.line without account_id.
With this commit, a fallback is made on the base line account_id in case
of missing account_id on the tax repartition line.
closes odoo/odoo#37499
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
