fixed #1358
This commit is contained in:
parent
686ac018dd
commit
05c6cdc411
@ -99,4 +99,9 @@ class BillItem extends Model
|
|||||||
|
|
||||||
$this->setAttribute('tax_id', $tax_ids);
|
$this->setAttribute('tax_id', $tax_ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function onCloning($src, $child = null)
|
||||||
|
{
|
||||||
|
unset($this->tax_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,4 +98,9 @@ class InvoiceItem extends Model
|
|||||||
|
|
||||||
$this->setAttribute('tax_id', $tax_ids);
|
$this->setAttribute('tax_id', $tax_ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function onCloning($src, $child = null)
|
||||||
|
{
|
||||||
|
unset($this->tax_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user