Merge pull request #2915 from aspangaro/develop-ER

ER add key language
This commit is contained in:
Laurent Destailleur 2015-05-30 15:09:00 +02:00
commit 5e486d798e
2 changed files with 5 additions and 18 deletions

View File

@ -109,24 +109,9 @@ class ExpenseReport extends CommonObject
$this->total_tva = 0;
// List of language codes for status
$this->statuts[0]='Draft';
$this->statuts[2]='Validated';
$this->statuts[4]='Canceled';
$this->statuts[5]='Approved';
$this->statuts[6]='Paid';
$this->statuts[99]='Refused';
$this->statuts_short[0]='Draft';
$this->statuts_short[2]='Validated';
$this->statuts_short[4]='Canceled';
$this->statuts_short[5]='Approved';
$this->statuts_short[6]='Paid';
$this->statuts_short[99]='Refused';
$this->statuts_logo[0]='statut0';
$this->statuts_logo[2]='statut1';
$this->statuts_logo[4]='statut5';
$this->statuts_logo[5]='statut3';
$this->statuts_logo[6]='statut6';
$this->statuts_logo[99]='statut8';
$this->statuts_short = array(0 => 'Draft', 2 => 'Validated', 4 => 'Canceled', 5 => 'Approved', 6 => 'Paid', 99 => 'Refused');
$this->statuts = array(0 => 'Draft', 2 => 'Validated', 4 => 'Canceled', 5 => 'Approved', 6 => 'Paid', 99 => 'Refused');
$this->statuts_logo = array(0 => 'statut0', 2 => 'statut1', 4 => 'statut5', 5 => 'statut3', 6 => 'statut6', 99 => 'statut8');
return 1;
}

View File

@ -413,6 +413,8 @@ Qty=Qty
ChangedBy=Changed by
ApprovedBy=Approved by
ApprovedBy2=Approved by (second approval)
Approved=Approved
Refused=Refused
ReCalculate=Recalculate
ResultOk=Success
ResultKo=Failure