$this->export_dependencies_array[$r]=array('invoice_line'=>'fd.rowid','product'=>'fd.rowid');// To add unique key if we ask a field of a child to avoid the DISTINCT to discard them
$this->export_dependencies_array[$r]=array('payment'=>'p.rowid');// To add unique key if we ask a field of a child to avoid the DISTINCT to discard them