psycopg2.ProgrammingError: can't adapt type 'subscription.package'
rrebollo opened this issue · comments
This line is throwing psycopg2.ProgrammingError: can't adapt type 'subscription.package' when creating an invoice from a sale order related to any subscription. I got it right changing it by:
'subscription_id': so_id.subscription_id.id}]