[FIX] sale_promotion_gift: error when filter lines by template
[FIX] sale_promotion_gift: error when filter lines by template

sergiocorato/odoomrp-wip,oihane/odoomrp-wip,Daniel-CA/odoomrp-wip-public,factorlibre/odoomrp-wip,esthermm/odoomrp-wip,Eficent/odoomrp-wip,agaldona/odoomrp-wip-1,esthermm/odoomrp-wip,Daniel-CA/odoomrp-wip-public,jobiols/odoomrp-wip,diagramsoftware/odoomrp-wip,Eficent/odoomrp-wip,oihane/odoomrp-wip,diagramsoftware/odoomrp-wip,odoomrp/odoomrp-wip,odoomrp/odoomrp-wip,sergiocorato/odoomrp-wip,ddico/odoomrp-wip,agaldona/odoomrp-wip-1,factorlibre/odoomrp-wip,jobiols/odoomrp-wip