Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0031550 | Openbravo ERP | 03. Procurement management | public | 2015-11-20 13:41 | 2015-12-04 15:58 |
| Reporter | ngarcia | ||||
| Assigned To | aferraz | ||||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | dmiguelez | ||||
| OBNetwork customer | OBPS | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | 39421 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0031550: Net Unit Price is changed after saving the invoice line if price includes taxes and price precision is higher than 2 | ||||
| Description | Net Unit Price is changed after saving the invoice line if price includes taxes and price precision is higher than 2 | ||||
| Steps To Reproduce | Configure the Format.xml file in order to show 6 decimals for prices As system admin role: Change the price precision of EUR currency to 6 As group admin role: Create a price list: Sales Price List = 'N' Price Includes Taxes = 'Y' Create a version and add a product to it with a price of 1.573 Create a Purchase Invoice with that price list Add a line with that product and check the Net Unit Price is shown as 1.30 Save it and check the Net Unit Price changes to 1.297521 | ||||
| Proposed Solution | The c_get_net_price_from_gross database function is being called with different values in the p_grossamt parameter in the SL_Invoice_Amt callout and in the c_invoiceline_before_trg: - SL_Invoice_Amt: 1.573 (gross unit price) - c_invoiceline_before_trg: 1.57 (line gross amount) | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-11-20 13:41 | ngarcia | New Issue | |||
| 2015-11-20 13:41 | ngarcia | Assigned To | => Triage Finance | ||
| 2015-11-20 13:41 | ngarcia | OBNetwork customer | => Yes | ||
| 2015-11-20 13:41 | ngarcia | Modules | => Core | ||
| 2015-11-20 13:41 | ngarcia | Triggers an Emergency Pack | => No | ||
| 2015-11-20 13:42 | ngarcia | Issue Monitored: networkb | |||
| 2015-11-20 13:43 | ngarcia | Support ticket | => 39421 | ||
| 2015-11-20 13:43 | ngarcia | Resolution time | => 1451516400 | ||
| 2015-11-20 16:20 | eugeni | Issue Monitored: eugeni | |||
| 2015-11-27 10:05 | aferraz | Assigned To | Triage Finance => aferraz | ||
| 2015-11-27 10:05 | aferraz | Status | new => scheduled | ||
| 2015-12-02 14:48 | psanjuan | Note Added: 0082536 | |||
| 2015-12-02 14:51 | psanjuan | Note Added: 0082537 | |||
| 2015-12-02 14:53 | psanjuan | Note Edited: 0082537 | bug_revision_view_page.php?bugnote_id=0082537#r10388 | ||
| 2015-12-02 15:10 | psanjuan | Note Edited: 0082536 | bug_revision_view_page.php?bugnote_id=0082536#r10390 | ||
| 2015-12-04 10:11 | hgbot | Checkin | |||
| 2015-12-04 10:11 | hgbot | Note Added: 0082566 | |||
| 2015-12-04 10:11 | hgbot | Status | scheduled => resolved | ||
| 2015-12-04 10:11 | hgbot | Resolution | open => fixed | ||
| 2015-12-04 10:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e867bcaa1cc6d81847568342992f0040429f0d4f [^] | ||
| 2015-12-04 10:12 | dmiguelez | Review Assigned To | => dmiguelez | ||
| 2015-12-04 10:12 | dmiguelez | Note Added: 0082567 | |||
| 2015-12-04 10:12 | dmiguelez | Status | resolved => closed | ||
| 2015-12-04 15:58 | hudsonbot | Checkin | |||
| 2015-12-04 15:58 | hudsonbot | Note Added: 0082576 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||