OCA / margin-analysis

Odoo Financial Controlling (margin, costs, ...)
https://odoo-community.org/project/9
GNU Affero General Public License v3.0
74 stars 161 forks source link

product_standard_margin: Deprecated call to decimal_precision.get_precision [15.0] #166

Closed jans23 closed 1 year ago

jans23 commented 1 year ago

When installing product_standard_margin for 15.0 for the first time I see the following warning several times:

WARNING odoo odoo.addons.base.models.decimal_precision: Deprecated call to decimal_precision.get_precision(<application>), use digits=<application> instead

I don't know if this is really an issue but it would be good to avoid such warnings to avoid any doubts and confusion.

legalsylvain commented 1 year ago

Hi. Thanks for reporting. Could you make a PR ? Thanks !

nikunjantala commented 1 year ago

Here is the PR for fix : https://github.com/OCA/margin-analysis/pull/170