Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api supplier price delete #12046

Merged
merged 2 commits into from
Oct 7, 2019
Merged

Conversation

frederic34
Copy link
Contributor

No description provided.

@frederic34
Copy link
Contributor Author

@ptibogxiv can you check?

@@ -632,16 +639,15 @@ public function getPurchasePrices($id, $ref = '', $ref_ext = '', $barcode = '',
}

if ($includestockdata) {
$this->product->load_stock();
$this->product->load_stock();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think getting stock need another api function

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also think includestockdata parameter is useless and can be removed.

@eldy eldy merged commit 80cbc09 into Dolibarr:develop Oct 7, 2019
@frederic34 frederic34 deleted the apisupplierproduct branch October 19, 2019 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants