Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0021195 | Openbravo ERP | 03. Procurement management | public | 2012-07-24 17:03 | 2012-08-09 13:06 |
|
Reporter | emartinez | |
Assigned To | mirurita | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP14 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0021195: "create invoice from receipt" in goods receipt window when prices include taxes |
Description | When creating an invoice from a goods receipt that comes from a purchase order with prices including taxes, the invoice generated has gross field to zero. |
Steps To Reproduce | 1) Go to purchase order and generate a register with 1 line whose pricelist include taxes
2) Generate the goods receipt copying lines from the purchase order
3) Then click on the button "generate invoice" from receipt header
4) Go to the generated invoice and see gross amount in header is not zero, and gross fields in the lines are also zero
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0035428 | | closed | aferraz | Do not calculate Net Price and Net Amount outside triggers when creating new Order/Invoice with Price Including Taxes |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-07-24 17:03 | emartinez | New Issue | |
2012-07-24 17:03 | emartinez | Assigned To | => mirurita |
2012-07-24 17:03 | emartinez | Modules | => Core |
2012-07-26 13:38 | mirurita | Note Added: 0050903 | |
2012-07-26 14:03 | hgbot | Checkin | |
2012-07-26 14:03 | hgbot | Note Added: 0050904 | |
2012-07-26 14:03 | hgbot | Status | new => resolved |
2012-07-26 14:03 | hgbot | Resolution | open => fixed |
2012-07-26 14:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/650209920d11e55c7e44991818d0bd6a878ea9c3 [^] |
2012-07-27 02:18 | hudsonbot | Checkin | |
2012-07-27 02:18 | hudsonbot | Note Added: 0050920 | |
2012-07-30 13:53 | hgbot | Checkin | |
2012-07-30 13:53 | hgbot | Note Added: 0050987 | |
2012-07-30 13:56 | gorkaion | Note Added: 0050988 | |
2012-07-30 13:56 | gorkaion | Status | resolved => closed |
2012-07-30 13:56 | gorkaion | Fixed in Version | => 3.0MP14 |
2012-08-09 13:06 | hudsonbot | Checkin | |
2012-08-09 13:06 | hudsonbot | Note Added: 0051196 | |
2017-03-06 18:51 | aferraz | Relationship added | related to 0035428 |
Notes |
|
(0050903)
|
mirurita
|
2012-07-26 13:38
|
|
Testing Plan I (using PIT)
1) Set "Tarifa Bebidas Alegres" as price includes taxes
2) Add "Zumo de Piña 0,5L" to "Tarifa Bebidas Alegres"
+ Unit Price: 100
+ List Price 101
3) Add "Zumo de Piña 0,5L" to "Tarifa Refrescos Naturales"
+ Unit Price: 100
+ List Price 101
4) Create a purchase order for "Bebidas Alegres, S.L."
+ Price List: Tarifa Bebidas Alegres
+ Line: "Zumo de Piña 0,5L", quantity = 2
5) Generate the goods receipt copying lines from the purchase order
6) Click on "Generate Invoice from Receipt" from receipt header
7) Go to the generated invoice and check the amounts are inherited from the purchase order.
+ Total Gross Amount: 200
+ Total Net Amount: 169.5
+ Net Unit Price: 84.75
+ Gross Unit Price: 100
+ Line Net Amount: 169.50
+ Line Gross Amount: 200
Testing Plan II (not using PIT)
1) Create a purchase order for "Bebidas Alegres, S.L."
+ Price List: Tarifa Refrescos Naturales
+ Line: "Zumo de Piña 0,5L", quantity = 5
5) Generate the goods receipt copying lines from the purchase order
6) Click on "Generate Invoice from Receipt" from receipt header
7) Go to the generated invoice and check the amounts are inherited from the purchase order.
+ Total Gross Amount: 590
+ Total Net Amount: 500
+ Net Unit Price: 100
+ Gross Unit Price: 0 (not visible)
+ Line Net Amount: 500
+ Line Gross Amount: 0 (not visible)
Testing Plan III
1) Create a Goods Receipt for "Bebidas Alegres, S.L."
+ Line: Zumo de Piña 0,5L - quantity: 3
2) Click on "Generate Invoice from Receipt" from receipt header
3) Select "Tarifa Bebidas Alegres" Price List Version
4) Go to the generated invoice and check the amounts are inherited from the purchase order.
+ Total Gross Amount: 300
+ Total Net Amount: 254.25
+ Quantity: 3
+ Net Unit Price: 84.75
+ Gross Unit Price: 100
+ Line Net Amount: 254.25
+ Line Gross Amount: 300
Testing Plan IV
1) Create a Goods Receipt for "Bebidas Alegres, S.L."
+ Line: Zumo de Piña 0,5L - quantity: 3
2) Click on "Generate Invoice from Receipt" from receipt header
3) Select "Tarifa Refrescos Naturales" Price List Version
4) Go to the generated invoice and check the amounts are inherited from the purchase order.
+ Total Gross Amount: 354
+ Total Net Amount: 300
+ Quantity: 3
+ Net Unit Price: 100
+ Gross Unit Price: 0 (not visible)
+ Line Net Amount: 300
+ Line Gross Amount: 0 (not visible) |
|
|
(0050904)
|
hgbot
|
2012-07-26 14:03
|
|
|
|
|
|
|
(0050987)
|
hgbot
|
2012-07-30 13:53
|
|
|
|
|
code reviewed and tested fine |
|
|
|
|