Then you'd have to have an UI element for the shape. And they are no perfect cylinders.
We use the volume for the amount of content in the bottles/glasses.

Am 05.12.13 15:19, schrieb Sasa Ostrouska:



On Thu, Dec 5, 2013 at 3:08 PM, Philip Lehmann-Böhm <phi...@philiplb.de <mailto:phi...@philiplb.de>> wrote:

    Hi,

    this would just work for cubic products. We sell round glasses and
    bottles. :)

But I think your round glasses are sold in a square box aren't they ? Also its easy to implement a possibility to calculate a volume of round cylindrical object. In any case you will not get completely exact info, as the glass have sometimes the lower leg of a different diameter.

Rgds
Saxa

    Am 05.12.13 15:03, schrieb Maxime Kohlhaas:
    Hi all !

    I was just wondering why Dolibarr offers to save product length,
    area (is that the right word ? not surface ?) and volume and not
    length, width and height, and have area and volume automatically
    calculated ?

    I'm with a customer who want's to have his products dimensions
    but don't want surface and volume.

    What do you think if I propose to add width and height and have
    area and volume auto calculated, with ajax for example ?

    Best regards,

    --
    /*Maxime Kohlhaas
    *Consultant associé
    //ATM Consulting/
    /+33 6 33 42 92 43 <tel:%2B33%206%2033%2042%2092%2043>/


    _______________________________________________
    Dolibarr-dev mailing list
    Dolibarr-dev@nongnu.org  <mailto:Dolibarr-dev@nongnu.org>
    https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


    _______________________________________________
    Dolibarr-dev mailing list
    Dolibarr-dev@nongnu.org <mailto:Dolibarr-dev@nongnu.org>
    https://lists.nongnu.org/mailman/listinfo/dolibarr-dev




_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à