Use standard prefix for supplier order for new install
This commit is contained in:
parent
a240cf30d6
commit
d688681605
@ -37,6 +37,16 @@ class mod_commande_fournisseur_muguet extends ModeleNumRefSuppliersOrders
|
||||
var $prefix='CF';
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ((float) $conf->global->MAIN_VERSION_LAST_INSTALL >= 5.0) $this->prefix = 'PO'; // We use correct standard code "PO = Purchase Order"
|
||||
}
|
||||
|
||||
/**
|
||||
* Return description of numbering module
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user