Merge branch 'new_bom_cost' of github.com:atm-maxime/dolibarr into new_bom_cost
This commit is contained in:
commit
83b5b82147
@ -1007,7 +1007,8 @@ class BOM extends CommonObject
|
||||
* BOM costs calculation based on cost_price or pmp of each BOM line
|
||||
* @return void
|
||||
*/
|
||||
public function calculateCosts() {
|
||||
public function calculateCosts()
|
||||
{
|
||||
include_once DOL_DOCUMENT_ROOT . '/product/class/product.class.php';
|
||||
$this->unit_cost = 0;
|
||||
$this->total_cost = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user