Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] account_invoice_fixed_discount: Check base_line type #1614

Merged
merged 1 commit into from
Jan 5, 2024

Commits on Nov 27, 2023

  1. [FIX] account_invoice_fixed_discount: Check base_line type

    hr_expense calls _convert_to_tax_base_line_dict with base_line set to None. Comparison of base_line._name in account_invoice_fixed_discount causes an attribute error.
    
    Add extra check to ensure there is an account.move.line to check against in base_line.
    tsliepen-ws committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    aaace47 View commit details
    Browse the repository at this point in the history