Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.29k stars 2.74k forks source link

Adding a product or service to an invoice does not populate the description field #14998

Closed GRIFFCOMMca closed 2 years ago

GRIFFCOMMca commented 3 years ago

Bug

Adding a product or service to an invoice, does not fill the description with the default value contained in that product or service item

Environment

Expected and actual behavior

When adding product or service lines to an invoice, the product or service description does not populate on the invoice when adding the line, the price however does

Steps to reproduce the behavior

Create a new draft invoice, then under "Add new line" select a "Predefined product/services to sell:, use one that has a description by default, the description of that product or service does not populate on the invoice field.

Please see video link of the problem https://www.griffcomm.dev/temp/dolibarr/2020-10-12_dolibarr_product_description.mp4

orebd commented 3 years ago

Hello,

You can modify it into services or product module parameter On the bottom of the page you can see: "Display product descriptions in forms (otherwise shown in a tooltip popup)" you just have to set it to yes. Then when you add a product or a service into an invoice, after clicking on ADD you'll see the description of your product/service.

GRIFFCOMMca commented 3 years ago

Hi, mine are set to YES in both of those modules, that setting didnt seem to effect anything

HOWEVEWR

We had YES = Add a feature to define the descriptions of products defined by the vendors in addition to descriptions for customers, we changed this to NO and i now see the descriptions.......

They only show up ONCE they are added, why would they not show up in the description once they are selected, is there a setting to change this so i see it BEFORE I add it so it can be edited (like the customer issue we saw, which was fixed with "RELOAD_PAGE_ON_CUSTOMER_CHANGE", this appears to be the same issue for the product description...

If we EDIT an added product we can then edit the description, however that adds 2 steps (Add it then edit it and re-save it)

orebd commented 3 years ago

Hello, Sorry, i'm not able to do that

GRIFFCOMMca commented 3 years ago

Hello, Sorry, i'm not able to do that

I'll submit it as a feature request later today...

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).