Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into 7.0
Conflicts: ChangeLog htdocs/filefunc.inc.php htdocs/societe/class/societe.class.php
This commit is contained in:
commit
9f27dd41e5
26
ChangeLog
26
ChangeLog
@ -484,6 +484,32 @@ Following changes may create regressions for some external modules, but were nec
|
|||||||
multicompany module to a version that support Dolibarr v7, everything should work as expected.
|
multicompany module to a version that support Dolibarr v7, everything should work as expected.
|
||||||
|
|
||||||
|
|
||||||
|
***** ChangeLog for 6.0.8 compared to 6.0.7 *****
|
||||||
|
FIX: #8762
|
||||||
|
FIX: #9032
|
||||||
|
FIX: case when we valid form with keyboard
|
||||||
|
FIX: clause must not be there
|
||||||
|
FIX: dol_delete_file must work in a context without db handler loaded
|
||||||
|
FIX: entity test must be on product_fourn_price table and not product table
|
||||||
|
FIX: Fetch shipping will now fetch project id
|
||||||
|
FIX: $fk_account is always empty, must be $soc->fk_account
|
||||||
|
FIX: getEntity project and not projet
|
||||||
|
FIX: If we enable 3 steps for supplier order approbation, we must not delete all fourn rights def.
|
||||||
|
FIX: Keep supplier proposal price for supplier order
|
||||||
|
FIX: langs fr
|
||||||
|
FIX: missing filters during reordering
|
||||||
|
FIX: need to filter on aa.entity for same accounting accounts available in several entities
|
||||||
|
FIX: page must always be 0 when we search (to avoid case : when we're on page 3 and we're looking for a precise thirdparty, we stay on page 3 and nothing's displaied)
|
||||||
|
FIX: PDF address: handle when contact thirdparty different from document thirdparty
|
||||||
|
FIX: propal: correctly preset project when creating with origin/originid
|
||||||
|
FIX: pu_ht_devise was not converted to numeric so decimals were lost when calculating total_ht_devise
|
||||||
|
FIX: remain to pay for credit note was wrong on invoice list
|
||||||
|
FIX: shipment: fk_proje(c)t not handled in fetch() and update() methods
|
||||||
|
FIX: showOptionals: column mismatches
|
||||||
|
FIX: sometimes amounts are identical but php find them different.
|
||||||
|
FIX: test is_erasable() must be done before call function delete() too to avoid delete invoice with &action=delete in url
|
||||||
|
FIX: we must see number of all shared projects
|
||||||
|
FIX: wrong var name
|
||||||
|
|
||||||
***** ChangeLog for 6.0.7 compared to 6.0.6 *****
|
***** ChangeLog for 6.0.7 compared to 6.0.6 *****
|
||||||
FIX: #8023
|
FIX: #8023
|
||||||
|
|||||||
@ -87,7 +87,7 @@ class Societe extends CommonObject
|
|||||||
* Thirdparty name
|
* Thirdparty name
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated Use $name instead
|
* @deprecated Use $name instead
|
||||||
* @see name
|
* @see $name
|
||||||
*/
|
*/
|
||||||
public $nom;
|
public $nom;
|
||||||
|
|
||||||
@ -120,21 +120,21 @@ class Societe extends CommonObject
|
|||||||
* State code
|
* State code
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated Use state_code instead
|
* @deprecated Use state_code instead
|
||||||
* @see state_code
|
* @see $state_code
|
||||||
*/
|
*/
|
||||||
var $departement_code;
|
var $departement_code;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated Use state instead
|
* @deprecated Use state instead
|
||||||
* @see state
|
* @see $state
|
||||||
*/
|
*/
|
||||||
var $departement;
|
var $departement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated Use country instead
|
* @deprecated Use country instead
|
||||||
* @see country
|
* @see $country
|
||||||
*/
|
*/
|
||||||
var $pays;
|
var $pays;
|
||||||
|
|
||||||
@ -308,7 +308,7 @@ class Societe extends CommonObject
|
|||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated Note is split in public and private notes
|
* @deprecated Note is split in public and private notes
|
||||||
* @see note_public, note_private
|
* @see $note_public, $note_private
|
||||||
*/
|
*/
|
||||||
var $note;
|
var $note;
|
||||||
|
|
||||||
@ -1882,24 +1882,33 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
if (! empty($conf->global->SOCIETE_ADD_REF_IN_LIST) && (!empty($withpicto)))
|
if (! empty($conf->global->SOCIETE_ADD_REF_IN_LIST) && (!empty($withpicto)))
|
||||||
{
|
{
|
||||||
|
$code = '';
|
||||||
if (($this->client) && (! empty ( $this->code_client ))
|
if (($this->client) && (! empty ( $this->code_client ))
|
||||||
&& ($conf->global->SOCIETE_ADD_REF_IN_LIST == 1
|
&& ($conf->global->SOCIETE_ADD_REF_IN_LIST == 1
|
||||||
|| $conf->global->SOCIETE_ADD_REF_IN_LIST == 2
|
|| $conf->global->SOCIETE_ADD_REF_IN_LIST == 2
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
$code = $this->code_client . ' - ';
|
{
|
||||||
|
$code = $this->code_client . ' - ';
|
||||||
|
}
|
||||||
|
|
||||||
if (($this->fournisseur) && (! empty ( $this->code_fournisseur ))
|
if (($this->fournisseur) && (! empty ( $this->code_fournisseur ))
|
||||||
&& ($conf->global->SOCIETE_ADD_REF_IN_LIST == 1
|
&& ($conf->global->SOCIETE_ADD_REF_IN_LIST == 1
|
||||||
|| $conf->global->SOCIETE_ADD_REF_IN_LIST == 3
|
|| $conf->global->SOCIETE_ADD_REF_IN_LIST == 3
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
$code .= $this->code_fournisseur . ' - ';
|
{
|
||||||
|
$code .= $this->code_fournisseur . ' - ';
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->global->SOCIETE_ADD_REF_IN_LIST == 1)
|
if ($conf->global->SOCIETE_ADD_REF_IN_LIST == 1)
|
||||||
|
{
|
||||||
$name =$code.' '.$name;
|
$name =$code.' '.$name;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
$name =$code;
|
$name =$code;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($this->name_alias)) $name .= ' ('.$this->name_alias.')';
|
if (!empty($this->name_alias)) $name .= ' ('.$this->name_alias.')';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user