CybroOdoo / CybroAddons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

psycopg2.ProgrammingError: can't adapt type 'subscription.package'

rrebollo opened this issue · comments

'subscription_id': so_id.subscription_id}]

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}]