Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014050Openbravo ERP07. Sales managementpublic2010-07-26 17:032011-07-20 18:12
networkb 
jonalegriaesarte 
normalmajoralways
newopen 
5
2.50MP19 
2.50MP21 
Core
No
0014050: In sales invoice line when uncheck the flag Financial Invoice Line the Account fields should be reset.
When uncheck the flag Financial Invoice Line the Account field remains filled but is hidden because the display logic. If you want to save the record the system throws:
If GL account is chosen, product should not be selected. If product is chosen, GL account should not be selected.
But you can not unselect the account.

The same when you are checking the flag but you have selected a Product.

The system should reset these fields when the flag changes or allows the user to modify manually.
Sales Management || Transactions || Sales Invoice || Header >> Lines
Select a Product
Save
Check the flag Financial Invoice Line
Select an account
Save - See the error

OR

Sales Management || Transactions || Sales Invoice || Header >> Lines
Check the flag Financial Invoice Line
Select an account
Save
Uncheck de flag
Select a Product
Save - See the error
Create a callout and associate to the flag. When check, the callout should put blank in product field. When uncheck the callout should put blank in account field.

Another solution could be don't hide the account field or product field if have data.
No tags attached.
Issue History
2010-07-26 17:03networkbNew Issue
2010-07-26 17:03networkbAssigned To => adrianromero
2011-06-03 10:59dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:12dalsasuaAssigned Todalsasua => jonalegriaesarte

There are no notes attached to this issue.