commission
commission copied to clipboard
[FIX][12.0]sale_commission: fix internal error trying to print int using %s
Hi @pedrobaeza, some modules you are maintaining are being modified, check this out!
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
@pedrobaeza Could you please check this simple fix? Thanks
But why is this needed? This was working on my side, converting the int to string by Python itself.
On my side I had this error before this fix. Maybe it is because I was working with python 3.6. /odoo/lib/python3.6/site-packages/odoo/addons/sale_commission/models/sale_commission_mixin.py", line 67, in _compute_commission_status ) % len(line.agents) TypeError: not all arguments converted during string formatting
Maybe it's a question of translations? Are you using it in English or any other language?
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.