Skip to content

Commit

Permalink
[FIX] price_security: _onchange_discount method no longer exists
Browse files Browse the repository at this point in the history
closes #545

Signed-off-by: Nicolas Mac Rouillon <nmr@adhoc.com.ar>
  • Loading branch information
matiasperalta1 committed Oct 10, 2023
1 parent fea49c5 commit b805933
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion price_security/models/res_users.py
Expand Up @@ -39,7 +39,6 @@ def check_discount(
so_line = so_line.with_context(whole_pack_price=True, pricelist=pricelist_id)

tmp_line = so_line.new(tmp_line_vals)
tmp_line._onchange_discount()
pricelist_disc = tmp_line.discount
net_discount = discount - pricelist_disc

Expand Down

0 comments on commit b805933

Please sign in to comment.