Name: [FWD][15.0][FIX] to_sales_target_sale: cannot upgrade module sale_crm

State: Killed

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #10499

Committer: Viinbot

Committer Email: viinbot@mail.viindoo.com

Commit: a95b95aaa0c73fef950708765ee9f7839c696ace

Description:

                                            [FIX] to_sales_target_sale: cannot upgrade module sale_crm

Cannot upgrade module sale_crm when target_sales_invoiced field stores a
value greater than int4. Because when upgrading, the default will
convert float to int4 causing an error
psycopg2.errors.NumericValueOutOfRange

Forward-Port-Of: #10496
                                            

Branch: 15.0

Instance ID: 0

Age:

Up-time: Not finished