Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012614Openbravo ERP03. Procurement managementpublic2010-03-09 17:302012-04-13 13:58
xabiermerino 
naiaramartinez 
urgentmajoralways
closedno change required 
5
pi 
 
Core
No
0012614: Major issue in Process 'Generate Receipt from Invoice'
Major issue in Process 'Generate Receipt from Invoice'

Tested in http://live.builds.openbravo.com/erp_devel_pi-full-oracle/ [^]
https://code.openbravo.com/erp/devel/pi/file/tip/src-db/database/model/functions/C_INVOICE_CREATERECEIPT.xml [^]
1) Create a Purchase Invoice header.
2) Add a line.
3) Go back to the Header and click on 'Generate Receipt from Invoice' button.
'Document must be completed first' is shown: this message is OK but the button should
be hidden until the purchase invoice is completed, that is, status is Completed or
Close.
4) Complete the Goods Receipt and then click on 'Generate Receipt from Invoice'
button again: these are the following problems in this process.
4.1) If the invoice line product has an attribute set, it is not found (it is not
selected by default) and you will never be able to create receipts from invoices for
products with attribute sets (major issue).
VMA-Reviewed
related to defect 0012615 closed naiaramartinez Minor issue in Process 'Generate Receipt from Invoice' 
related to defect 0012616 closed naiaramartinez Other Major issue in Process 'Generate Receipt from Invoice' 
related to defect 0012613 closed naiaramartinez trivial in Process 'Generate Receipt from Invoice' 
related to defect 0020265 closed naiaramartinez The display logic of the attribute set field in Purchase Invoice window is not working properly 
Issue History
2010-03-09 17:30xabiermerinoNew Issue
2010-03-09 17:30xabiermerinoAssigned To => adrianromero
2010-03-09 18:00networkbRelationship addedrelated to 0012613
2010-03-09 18:01networkbRelationship addedrelated to 0012615
2010-03-09 18:02networkbRelationship addedrelated to 0012616
2011-06-03 11:00dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:11dalsasuaAssigned Todalsasua => jonalegriaesarte
2012-04-03 12:20jonalegriaesarteAssigned Tojonalegriaesarte => vmromanos
2012-04-10 13:42vmromanosTag Attached: VMA-Reviewed
2012-04-13 12:07naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-04-13 12:08naiaramartinezStatusnew => scheduled
2012-04-13 12:08naiaramartinezfix_in_branch => pi
2012-04-13 13:58naiaramartinezNote Added: 0047568
2012-04-13 13:58naiaramartinezStatusscheduled => closed
2012-04-13 13:58naiaramartinezResolutionopen => no change required
2012-04-13 14:06naiaramartinezRelationship addedrelated to 0020265

Notes
(0047568)
naiaramartinez   
2012-04-13 13:58   
The application is working as expected.
If the invoice is completed and the product that you add has an attribute set, you have to fill the attribute set field in invoice lines. So, you have to reactivate the invoice, complete the attribute set field and the complete it again.
After doing that, you can 'Generate Invoice from Receipt' and the receipt is completed successfully.