[Vtigercrm-developers] [PATCH] [VTIGERCRM V5.0.0-rc1] Preserve add order of products in Quotes, etc

Dennis Grant dgrant at accuratetechnologies.com
Tue Aug 15 11:36:38 PDT 2006


Here's my first patch against VtigerCRM V5.0.0-rc1

It preserves the order in which products are added to Quotes, etc so
that the order that they are printed is the order in which they are
added.

Our sales staff demanded this so they can group products in logical
order, especially when dealing with big purchases that have accessories.

Previously, the return order would be whatever the order the products
were added to the DATABASE (order by crmid) which caused much confusion
and pain.

With this patch applied, you can do this:

1 X Big Expensive Thingy
2 X Thingy Accessory
1 X Thingy Peripheral A
1 X Adaptor Cable A->Thingy
1 X Thingy Peripheral B
1 X Adaptor Cable B->Thingy

And it will print that way.

Share and Enjoy!

Note that this adds a new field to vtiger_inventoryproductrel  - I added
the appropriate entry in the schema XML file and I changed the Migration
php scripts to accommodate, but there's nothing in the patch to add this
field to a live database.

****IMPORTANT*****

Who is it who will be in charge of reviewing this patch and committing
it to the V5.0.0-RC2 (or whatever) tree? How will I know if this patch
is committed?

DG 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DG_patch_1
Type: application/octet-stream
Size: 10881 bytes
Desc: DG_patch_1
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20060815/a663a8af/attachment-0003.obj 


More information about the vtigercrm-developers mailing list