Voici le log:
2013-04-18 13:40:20 DEBUG 127.0.0.1 FactureLigne::update sql=UPDATE llx_facturedet SET description='',label=null,subprice=726,remise_percent=0,fk_remise_except=null,tva_tx=0,localtax1_tx=0,localtax2_tx=0,qty=1,date_start=null,date_end=null,product_type=1,info_bits='0',special_code='0',total_ht=726,total_tva=0,total_ttc=726,total_localtax1=0,total_localtax2=0 , fk_product_fournisseur_price='' , buy_price_ht='0',fk_parent_line=null WHERE rowid = 178
2013-04-18 13:40:20 WARNING 127.0.0.1 DoliDBMysqli::query SQL error: UPDATE llx_facturedet SET description='',label=null,subprice=726,remise_percent=0,fk_remise_except=null,tva_tx=0,localtax1_tx=0,localtax2_tx=0,qty=1,date_start=null,date_end=null,product_type=1,info_bits='0',special_code='0',total_ht=726,total_tva=0,total_ttc=726,total_localtax1=0,total_localtax2=0 , fk_product_fournisseur_price='' , buy_price_ht='0',fk_parent_line=null WHERE rowid = 178 DB_ERROR_1366
2013-04-18 13:40:20 ERR 127.0.0.1 FactureLigne::update Error Incorrect integer value: '' for column 'fk_product_fournisseur_price' at row 1
Je ne sais pas trop si le problème vient du code ou du schéma de la BDD ? Apparemment le schéma est identique dans la table llx_commandedet…