If i add an item to an invoice or a quote, the price is always 0.00. In the item the price is set to the right value, but it don't show up in the invoices and quotes.

Comments

leenx’s picture

Have had the same problem and currently investigating. If anybody has an idea, please holler!!

Thanks
LeeT

leenx’s picture

I found some details, seems that the ERP module has custom autocomplete.js, which needs to be copied into Drupal's misc folder ... From the file ...

/**
 * This is a custom version of the drupal autocomplete script.
 * It should me placed in the "misc" directory of your drupal
 * installation for full erp functionality.
 */

But this then stops "Add Line/Recalc" from working and it does not pull the correct price for line item.

I'm hoping I can find a cleaner solution to this than putting in a custom js file.

leenx’s picture

Further testing, found that if the supplier was incorrect or not set, it would also not add to the quote or invoice. It would be better to report and error to the user, than to blindly return. Would be nice to hear what other people think.

singularo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)