Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012916Openbravo ERP03. Procurement managementpublic2010-04-09 07:402012-05-02 18:06
arunkumar 
Sandrahuguet 
lowminorhave not tried
closedfixed 
5
pi 
3.0MP11 
Core
No
0012916: Line numbers are changed for Tax records in purchase invoice before and after completion
A product is added in an invoice line.
Its tax is added in Tax tab.
Other tax is added manually in Tax tab.
Now go to grid view and check the line number of tax records. They are 10,20
Complete the purchase invoice.
Now again go to the tax tab and verify the line numbers for the taxes. They are 20,30.
Go to Procurement Management > Transactions > Purchase invoice.
Create a new header.
Enter all data needed.
Go to line tab, and create a new record.
Select "Boots" product.
Go to Tax tab. There will be one record (VAT 16%)
Add a new record, selecting VAT 16%. As tax amount, enter -0.01.
Now go to grid view and check the line number of tax records. They are 10,20
Complete the purchase invoice.
Now again go to the tax tab and verify the line numbers for the taxes. They are 20,30.
OB3-Reviewed, VMA-Reviewed
jpg LineNoError.JPG (187,849) 2010-04-09 07:40
https://issues.openbravo.com/file_download.php?file_id=2418&type=bug
jpg
Issue History
2010-04-09 07:40arunkumarNew Issue
2010-04-09 07:40arunkumarAssigned To => adrianromero
2010-04-09 07:40arunkumarFile Added: LineNoError.JPG
2010-04-09 07:40arunkumarStatusnew => scheduled
2010-04-09 07:40arunkumarfix_in_branch => pi
2011-06-03 10:59dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:12dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-10-28 18:29dmitry_mezentsevTag Attached: OB3-Reviewed
2011-10-28 18:29dmitry_mezentsevNote Added: 0042290
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 17:09vmromanosTag Attached: VMA-Reviewed
2012-04-23 12:04SandrahuguetAssigned Tovmromanos => Sandrahuguet
2012-04-23 17:53SandrahuguetNote Added: 0047887
2012-04-24 09:24SandrahuguetNote Edited: 0047887bug_revision_view_page.php?bugnote_id=0047887#r3391
2012-04-27 13:47hgbotCheckin
2012-04-27 13:47hgbotNote Added: 0048146
2012-04-27 13:47hgbotStatusscheduled => resolved
2012-04-27 13:47hgbotResolutionopen => fixed
2012-04-27 13:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ece49150e4a59ac625d1930b3bc3e0f409624599 [^]
2012-04-27 13:47hgbotCheckin
2012-04-27 13:47hgbotNote Added: 0048147
2012-04-28 02:31hudsonbotCheckin
2012-04-28 02:31hudsonbotNote Added: 0048178
2012-04-28 02:31hudsonbotCheckin
2012-04-28 02:31hudsonbotNote Added: 0048179
2012-05-02 18:06miruritaNote Added: 0048246
2012-05-02 18:06miruritaStatusresolved => closed
2012-05-02 18:06miruritaFixed in Version => 3.0MP11

Notes
(0042290)
dmitry_mezentsev   
2011-10-28 18:29   
Bug exists in OB3 also
(0047887)
Sandrahuguet   
2012-04-23 17:53   
(edited on: 2012-04-24 09:24)
Test Plan:
-Go to Purchase Invoice, and create one:
 · Business Partner= Fruit & Bio is Life, Inc.
-Create a new line
 ·Product=Apple Juice Bio, tax= MA Sales Tax - US State Sales Tax (The tax appears automatically must be recalculate)
 ·Add a new tax NJ Sales Tax - US State Sales Tax (The tax added manually must not be recalculate)
 ·In tab tax the num lines are 10 and 20
 ·Complete the purchase invoice
 ·Notice that in tab tax the num lines are 10 and 20

(0048146)
hgbot   
2012-04-27 13:47   
Repository: erp/devel/pi
Changeset: ece49150e4a59ac625d1930b3bc3e0f409624599
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Apr 23 17:37:21 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ece49150e4a59ac625d1930b3bc3e0f409624599 [^]

Fixed bug 12916 Recalculate line.no when complete a purchase invoice
Recalculate line number when complete a purchase invoice
in C_INVOICE_POST.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0048147)
hgbot   
2012-04-27 13:47   
Repository: erp/devel/pi
Changeset: 3ef1205707041889bc3fb12dbf2b85753cdb4692
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Apr 27 13:00:31 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3ef1205707041889bc3fb12dbf2b85753cdb4692 [^]

Related to issue 12916: code review, indentation

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0048178)
hudsonbot   
2012-04-28 02:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cd923b317af4 [^]

Maturity status: Test
(0048179)
hudsonbot   
2012-04-28 02:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cd923b317af4 [^]

Maturity status: Test
(0048246)
mirurita   
2012-05-02 18:06   
code review + testing OK