Skip to content
Snippets Groups Projects
Commit 04deb959 authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] account: Set default for invoices


In 12.0, the function onchange_default defined in odoo/models.py
was triggered on model 'account.invoice' for the fields type, company_id,
partner_id

In 13.0, as the model 'account.invoice' has been removed by 'account.move',
the same logic must be applied on this model.

opw:2086812

closes odoo/odoo#38849

Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
parent 009b632c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment