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

Syncing from upstream OCA/commission (15.0) #479

Merged
merged 6 commits into from
Aug 9, 2024
Merged

Commits on Aug 8, 2024

  1. [FIX] *commission: Remove related from commission_free

    Steps to reproduce:
    
    - Create a product commission free.
    - Do some invoices with that product.
    - There's no commission on the invoices.
    - Remove the "Commission free" check.
    
    Result: all the past invoices are recomputed and now a commission
    appears. That's not acceptable, as past things shouldn't be changed
    if you change the definition from now on, and more if you already did
    the settlements.
    
    This happens because the field in the invoice line is a related one, so
    changing the source, recomputes all the linked records.
    
    Let's change it to a computed writable, being recomputed only when the
    product changes, not if we change the .
    
    TT50445
    pedrobaeza committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    7a81ee5 View commit details
    Browse the repository at this point in the history
  2. Merge PR #552 into 15.0

    Signed-off-by pedrobaeza
    OCA-git-bot committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5b01eee View commit details
    Browse the repository at this point in the history
  3. [BOT] post-merge updates

    OCA-git-bot committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    3fbb75b View commit details
    Browse the repository at this point in the history
  4. [IMP] account_commission: Index on invoice_agent_line_id

    That way, deletions of agent lines in invoices are faster.
    pedrobaeza committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1d3a719 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff36da1 View commit details
    Browse the repository at this point in the history
  6. [UPD] README.rst

    OCA-git-bot committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    40491a3 View commit details
    Browse the repository at this point in the history