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',
|
||||
'contacts' => 'Contact',
|
||||
'products' => 'Product',
|
||||
'services' => 'Service',
|
||||
'services' => 'ProductService',
|
||||
'proposals' => 'Propal',
|
||||
'orders' => 'Commande',
|
||||
'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';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user