diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-08-28 12:05:05 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-08-28 12:14:27 +0000 |
| commit | 3950702c86733f52fb373d55a0898baf593de239 (patch) | |
| tree | 8f2abe7075612b8e845fab3d5bd55893b6cf597a /addons/web/static/src/js/views | |
| parent | 412117c2a789a24191cda040614d01fe290e77cc (diff) | |
[FIX] account: reconciliation widget: parent name targets partner without parent
Create a partner with a child *WITH THE SAME NAME*
Create an invoice for the child
Create bank statement and line, with the field partner_name equals
to the child's name (and to its parent)
Open the reconciliation wigdet for that statement
Before this commit, the widget searched lines for the child partner
because partner_name matches the child in priority
Hence the invoice just created was not present
This is because when validating an invoice or a payment
the journal entry's partner will be the commercial_partner_id of the child
By definition the commercial partner_id doesn't have a parent_id set
After this commit, the invoice is visible in the widget
OPW 2039768
closes odoo/odoo#36184
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views')
0 files changed, 0 insertions, 0 deletions
