Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018905Openbravo ERP08. Project and service managementpublic2011-10-27 15:552012-06-14 14:03
RenateNieuwkoop 
naiaramartinez 
normalmajorhave not tried
closedunable to reproduce 
5
3.0MP4.1 
 
Google Chrome
Core
No
0018905: Service Project: After creating several temporary price lists, entering a sales order the regular price list is no longer visibl
I have done several tests of creating Service Projects with selecting the option to create temporary price lists. A couple of temporary price lists were created and since i didn't close the service projects, the price lists remain.
Now when entering a Sales Order for the same business Partner (not through the service project, but independantly) in the value list of the price list field only the temporary created price lists appear, not the price list (general sales) that was configured in the business partner set up as being the default.
Enter several service projects for example for Moonlight and select the option to create temporary price lists. Change the status to Order and create the purchase and sales orders for these service projects.

Now indepedantly go to the sales order screen and enter a sales order for Moonlight. Check if the price list 'General Sales' appears as a selectable value in the price list list : for me that value was not displayed, just the temporary pricelists that were created for the service projects.

See screenshots
VMA-Reviewed
png Screenshot-Openbravo - Sales Order - SO-50031 - 27-10... - Chromium.png (159,123) 2011-10-27 15:55
https://issues.openbravo.com/file_download.php?file_id=4675&type=bug
png

png Issue18905.png (94,367) 2011-10-27 15:58
https://issues.openbravo.com/file_download.php?file_id=4676&type=bug
png

png Screenshot-Openbravo - * Sales Order - Chromium.png (142,436) 2011-10-27 16:04
https://issues.openbravo.com/file_download.php?file_id=4678&type=bug
png

png Issue18905_2.png (66,435) 2011-10-27 16:04
https://issues.openbravo.com/file_download.php?file_id=4679&type=bug
png
Issue History
2011-10-27 15:55RenateNieuwkoopNew Issue
2011-10-27 15:55RenateNieuwkoopAssigned To => jonalegriaesarte
2011-10-27 15:55RenateNieuwkoopFile Added: Screenshot-Openbravo - Sales Order - SO-50031 - 27-10... - Chromium.png
2011-10-27 15:55RenateNieuwkoopWeb browser => Google Chrome
2011-10-27 15:55RenateNieuwkoopModules => Core
2011-10-27 15:57RenateNieuwkoopNote Added: 0042156
2011-10-27 15:58RenateNieuwkoopFile Added: Issue18905.png
2011-10-27 16:04RenateNieuwkoopNote Added: 0042160
2011-10-27 16:04RenateNieuwkoopFile Added: Screenshot-Openbravo - * Sales Order - Chromium.png
2011-10-27 16:04RenateNieuwkoopFile Added: Issue18905_2.png
2011-10-27 16:08RenateNieuwkoopNote Added: 0042161
2011-10-27 16:36RenateNieuwkoopNote Added: 0042163
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 17:02vmromanosWeb browserGoogle Chrome => Google Chrome
2012-02-16 17:02vmromanosTypedefect => design defect
2012-02-16 17:02vmromanosTag Attached: VMA-Reviewed
2012-05-10 12:13gorka_gilAssigned Tovmromanos => mirurita
2012-06-14 14:02naiaramartinezAssigned Tomirurita => naiaramartinez
2012-06-14 14:02naiaramartinezStatusnew => scheduled
2012-06-14 14:02naiaramartinezfix_in_branch => pi
2012-06-14 14:03naiaramartinezNote Added: 0049836
2012-06-14 14:03naiaramartinezStatusscheduled => closed
2012-06-14 14:03naiaramartinezResolutionopen => unable to reproduce

Notes
(0042156)
RenateNieuwkoop   
2011-10-27 15:57   
Even when selecting a business partner on the sales order that did not have a temporary price list created, the same values appear for the pricelists.
(0042160)
RenateNieuwkoop   
2011-10-27 16:04   
To resolve this I have closed all the Service Projects that I had. One pricelist remains, even though the service project was already closed and still the General Sales price list does not appear in the value list.
(0042161)
RenateNieuwkoop   
2011-10-27 16:08   
Then I went into the temporary pricelist TEST2 and made it manually inactive. Now when going to the Sales Order and entering a sales order, the value field for the Price List is completely empty (while normally the General Sales should appear). No idea how I have to resolve this.
(0042163)
RenateNieuwkoop   
2011-10-27 16:36   
The system had put the General Sales pricelist to inactive. Fix is to manually activate the pricelist again.

My analysis of what happened:
a temporary pricelist gets created when the project status is changed from 'Open' to 'Order'.
When changes are made to the Service Project after that, this causes problems (see issue 18872 that I logged to not allow changes after the order status changed to Order)
In this case changes were made, the temporary pricelist was incorrectly reflected as 'General Sales' on Test2 and when the Test2 Service Project was closed, the General Sales was considered a temporary pricelist and changed to inactive.

Apparantly the application does not make a distinction between temporary price lists and the already existing price lists. As long as a Service Project is marked with the 'Create Temporary Pricelist' the value from the field 'Price List' is then put to inactive when the order is closed.

This functionality should be reviewed and made fool proof.
(0049836)
naiaramartinez   
2012-06-14 14:03   
This issue has been closed because we are not able to reproduce it.

We think that in service project you changed the pricelist to 'General Sales', after creating the temporary price list (when you changed the status of the project to order) but before you close the project. When the project is closed the temporary price list gets inactive. An as you changed the temporary price list to 'General Sales' it got inactive. (See Issue18905_2.png, you can see that in Price List field you have General Sales value)

Now, you won't be able to reproduce it because once you change the project status to order, price list field becomes read only.