Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030991Openbravo ERP03. Procurement managementpublic2015-09-30 14:482016-01-22 22:04
psanjuan 
markmm82 
highminoralways
scheduledopen 
20Professional Appliance
 
 
Core
No
0030991: It should not be possible to book an order for a product set as Active = NO
It should not be possible to book an order for a product set as Active = NO
- Login as Group Admin role.
- Create a product related to a purchase price list.
- Create a purchase order with the product created.
- Do not book it.
- Set the product as inactive.
- Book the order.
- Check that the order is booked successfully

The order should not have been booked successfully but an error message saying that the product is not active should have been shown.
No tags attached.
Issue History
2015-09-30 14:48psanjuanNew Issue
2015-09-30 14:48psanjuanAssigned To => Triage Finance
2015-09-30 14:48psanjuanModules => Core
2015-09-30 14:48psanjuanTriggers an Emergency Pack => No
2015-09-30 14:58psanjuanSeveritymajor => minor
2015-09-30 14:59psanjuanProposed Solution updated
2016-01-22 22:03markmm82Assigned ToTriage Finance => markmm82
2016-01-22 22:03markmm82Statusnew => acknowledged
2016-01-22 22:03markmm82Statusacknowledged => scheduled
2016-01-22 22:04markmm82Note Added: 0083573

Notes
(0083573)
markmm82   
2016-01-22 22:04   
Now if the Book or Reactivate button is pressed the process take in account if some of the products in its lines are deactivated. The order is not booked or reactivated and an error message is shown explaining the reason.

Test Plan
- Login as Group Admin role.
- Create a product related to a purchase price list.
- Create a purchase order with the product created.
- Do not book it.
- Set the product as inactive.
- Book the order.
- Check that the order is not booked successfully but an error message saying "Some product(s) used in transaction are inactive. Please activate them before processing." is shown.