FIX missing translation keys
This commit is contained in:
parent
ffa79c59f9
commit
4479ba8015
@ -64,13 +64,13 @@ class Product extends CommonObject
|
|||||||
* @var array List of child tables. To test if we can delete object.
|
* @var array List of child tables. To test if we can delete object.
|
||||||
*/
|
*/
|
||||||
protected $childtables = array(
|
protected $childtables = array(
|
||||||
'supplier_proposaldet' => array('parent' => 'supplier_proposal', 'parentkey' => 'fk_supplier_proposal'),
|
'supplier_proposaldet' => array('name' => 'SupplierProposal', 'parent' => 'supplier_proposal', 'parentkey' => 'fk_supplier_proposal'),
|
||||||
'propaldet' => array('parent' => 'propal', 'parentkey' => 'fk_propal'),
|
'propaldet' => array('name' => 'Proposal', 'parent' => 'propal', 'parentkey' => 'fk_propal'),
|
||||||
'commandedet' => array('parent' => 'commande', 'parentkey' => 'fk_commande'),
|
'commandedet' => array('name' => 'Order', 'parent' => 'commande', 'parentkey' => 'fk_commande'),
|
||||||
'facturedet' => array('parent' => 'facture', 'parentkey' => 'fk_facture'),
|
'facturedet' => array('name' => 'Invoice', 'parent' => 'facture', 'parentkey' => 'fk_facture'),
|
||||||
'contratdet' => array('parent' => 'contrat', 'parentkey' => 'fk_contrat'),
|
'contratdet' => array('name' => 'Contract', 'parent' => 'contrat', 'parentkey' => 'fk_contrat'),
|
||||||
'facture_fourn_det' => array('parent' => 'facture_fourn', 'parentkey' => 'fk_facture_fourn'),
|
'facture_fourn_det' => array('name' => 'SupplierInvoice', 'parent' => 'facture_fourn', 'parentkey' => 'fk_facture_fourn'),
|
||||||
'commande_fournisseurdet' => array('parent' => 'commande_fournisseur', 'parentkey' => 'fk_commande')
|
'commande_fournisseurdet' => array('name' => 'SupplierOrder', 'parent' => 'commande_fournisseur', 'parentkey' => 'fk_commande')
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -59,7 +59,9 @@ class Task extends CommonObjectLine
|
|||||||
/**
|
/**
|
||||||
* @var array List of child tables. To test if we can delete object.
|
* @var array List of child tables. To test if we can delete object.
|
||||||
*/
|
*/
|
||||||
protected $childtables = array('projet_task_time');
|
protected $childtables = array(
|
||||||
|
'projet_task_time' => array('name' => 'Task', 'parent' => 'projet_task', 'parentkey' => 'fk_task')
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int ID parent task
|
* @var int ID parent task
|
||||||
|
|||||||
@ -73,18 +73,18 @@ class Societe extends CommonObject
|
|||||||
* @var array List of child tables. To test if we can delete object.
|
* @var array List of child tables. To test if we can delete object.
|
||||||
*/
|
*/
|
||||||
protected $childtables = array(
|
protected $childtables = array(
|
||||||
"supplier_proposal" => array('name' => 'SupplierProposal'),
|
'supplier_proposal' => array('name' => 'SupplierProposal'),
|
||||||
"propal" => array('name' => 'Proposal'),
|
'propal' => array('name' => 'Proposal'),
|
||||||
"commande" => array('name' => 'Order'),
|
'commande' => array('name' => 'Order'),
|
||||||
"facture" => array('name' => 'Invoice'),
|
'facture' => array('name' => 'Invoice'),
|
||||||
"facture_rec" => array('name' => 'RecurringInvoiceTemplate'),
|
'facture_rec' => array('name' => 'RecurringInvoiceTemplate'),
|
||||||
"contrat" => array('name' => 'Contract'),
|
'contrat' => array('name' => 'Contract'),
|
||||||
"fichinter" => array('name' => 'Fichinter'),
|
'fichinter' => array('name' => 'Fichinter'),
|
||||||
"facture_fourn" => array('name' => 'SupplierInvoice'),
|
'facture_fourn' => array('name' => 'SupplierInvoice'),
|
||||||
"commande_fournisseur" => array('name' => 'SupplierOrder'),
|
'commande_fournisseur' => array('name' => 'SupplierOrder'),
|
||||||
"projet" => array('name' => 'Project'),
|
'projet' => array('name' => 'Project'),
|
||||||
"expedition" => array('name' => 'Shipment'),
|
'expedition' => array('name' => 'Shipment'),
|
||||||
"prelevement_lignes" => array('name' => 'DirectDebitRecord'),
|
'prelevement_lignes' => array('name' => 'DirectDebitRecord'),
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -92,22 +92,22 @@ class Societe extends CommonObject
|
|||||||
* if name like with @ClassName:FilePathClass:ParentFkFieldName' it will call method deleteByParentField (with parentId as parameters) and FieldName to fetch and delete child object
|
* if name like with @ClassName:FilePathClass:ParentFkFieldName' it will call method deleteByParentField (with parentId as parameters) and FieldName to fetch and delete child object
|
||||||
*/
|
*/
|
||||||
protected $childtablesoncascade = array(
|
protected $childtablesoncascade = array(
|
||||||
"societe_prices",
|
'societe_prices',
|
||||||
"societe_address",
|
'societe_address',
|
||||||
"product_fournisseur_price",
|
'product_fournisseur_price',
|
||||||
"product_customer_price_log",
|
'product_customer_price_log',
|
||||||
"product_customer_price",
|
'product_customer_price',
|
||||||
"@Contact:/contact/class/contact.class.php:fk_soc",
|
'@Contact:/contact/class/contact.class.php:fk_soc',
|
||||||
"adherent",
|
'adherent',
|
||||||
"societe_account",
|
'societe_account',
|
||||||
"societe_rib",
|
'societe_rib',
|
||||||
"societe_remise",
|
'societe_remise',
|
||||||
"societe_remise_except",
|
'societe_remise_except',
|
||||||
"societe_commerciaux",
|
'societe_commerciaux',
|
||||||
"categorie",
|
'categorie',
|
||||||
"notify",
|
'notify',
|
||||||
"notify_def",
|
'notify_def',
|
||||||
"actioncomm",
|
'actioncomm',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user