-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
[sale_commission] Commissions are not being settled for invoices duplicated from a settled invoice. #61
Comments
You can set |
settled = fields.Boolean(compute="_compute_settled", store=True, copy=False) What about the other |
They are automatically linked to the new records, so they are not needed. |
aitorbouzas
pushed a commit
to aitorbouzas/commission
that referenced
this issue
Oct 5, 2018
pedrobaeza
pushed a commit
to Tecnativa/commission
that referenced
this issue
Dec 14, 2018
manuelcalerosolis
pushed a commit
to xtendoo-corporation/commission
that referenced
this issue
Mar 8, 2022
AungKoKoLin1997
pushed a commit
to AungKoKoLin1997/commission
that referenced
this issue
Sep 7, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result: Invoice is ignored in the settlement.
Expected: Invoice commission should be settled.
This bug won't occur, though, if the invoice is duplicated from a not settled invoice.
I'm guessing the
account.invoice.line.agent
'ssettled
field is being copied aswell when duplicating an invoice, hence ignoring this invoice line from settlements.Is there a way to avoid this? a way to reset this field value when duplicating?
I don't know how to do it, yet, at least not without investigating the web for a few hours.
The text was updated successfully, but these errors were encountered: