Merge pull request #85 from simnandez/develop

[ task #176 ] Allow to use ODT templates for prososal like it's done for invoices. Working with odt template
This commit is contained in:
Regis Houssin 2012-01-05 00:51:49 -08:00
commit b508a72361
2 changed files with 4 additions and 2 deletions

View File

@ -1009,8 +1009,10 @@ class Propal extends CommonObject
$this->statut = $obj->fk_statut;
$this->statut_libelle = $obj->statut_label;
$this->datec = $this->db->jdate($obj->datec);
$this->datev = $this->db->jdate($obj->datev);
$this->datec = $this->db->jdate($obj->datec); //TODO obsolete
$this->datev = $this->db->jdate($obj->datev); //TODO obsolete
$this->date_creation = $this->db->jdate($obj->datec); //Creation date
$this->date_validation = $this->db->jdate($obj->datev); //Validation date
$this->date = $this->db->jdate($obj->dp); // Proposal date
$this->datep = $this->db->jdate($obj->dp);
$this->fin_validite = $this->db->jdate($obj->dfv);