Skip to content
Snippets Groups Projects
Commit 31f198fa authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Clean invoice class from deprecated fields.

Enhance initAsSpeciment function to contains all kind of lines.
parent 3fd2a621
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,6 @@ $user->getrights();
print "***** ".$script_file." (".$version.") *****\n";
// Start of transaction
$db->begin();
......@@ -63,6 +62,7 @@ require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");
// Create invoice object
$obj = new Facture($db);
//$obj->initAsSpecimen();
$obj->ref = 'ABCDE';
$obj->socid = 4; // Put id of third party (rowid in llx_societe table)
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment