Fix name of class Service (already used by APIs)
This commit is contained in:
parent
7c6dc930d2
commit
4606b9fd9f
@ -207,7 +207,7 @@ if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS))
|
|||||||
'suppliers' => 'Fournisseur',
|
'suppliers' => 'Fournisseur',
|
||||||
'contacts' => 'Contact',
|
'contacts' => 'Contact',
|
||||||
'products' => 'Product',
|
'products' => 'Product',
|
||||||
'services' => 'Service',
|
'services' => 'ProductService',
|
||||||
'proposals' => 'Propal',
|
'proposals' => 'Propal',
|
||||||
'orders' => 'Commande',
|
'orders' => 'Commande',
|
||||||
'invoices' => 'Facture',
|
'invoices' => 'Facture',
|
||||||
|
|||||||
@ -5639,9 +5639,10 @@ class Product extends CommonObject
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class to manage products or services
|
* Class to manage products or services.
|
||||||
|
* Do not use 'Service' as class name since it is already used by APIs.
|
||||||
*/
|
*/
|
||||||
class Service extends Product
|
class ProductService extends Product
|
||||||
{
|
{
|
||||||
public $picto = 'service';
|
public $picto = 'service';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user