backport commit for setmulticurrency
a489207122 (diff-48f18024fb928ce21b76ef02fc967c67)
This commit is contained in:
parent
4f356fa412
commit
ad3cbd17c2
@ -1876,10 +1876,16 @@ abstract class CommonObject
|
||||
{
|
||||
foreach ($this->lines as &$line)
|
||||
{
|
||||
// Amounts in company currency will be recalculated
|
||||
if($mode == 1) {
|
||||
$line->subprice = 0;
|
||||
}
|
||||
|
||||
// Amounts in foreign currency will be recalculated
|
||||
if($mode == 2) {
|
||||
$line->multicurrency_subprice = 0;
|
||||
}
|
||||
|
||||
switch ($this->element) {
|
||||
case 'propal':
|
||||
$this->updateline(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user