Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028053 | Openbravo ERP | 09. Financial management | public | 2014-11-03 12:09 | 2014-12-30 23:28 |
|
Reporter | ngarcia | |
Assigned To | reinaldoguerra | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q1 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | umartirena |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 32062 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028053: Tax is not selected when the BP is set as exempt and there exists a tax with a newer valid from date and different organization |
Description | Tax is not selected when the BP is set as exempt and there exists a tax with a newer valid from date and different organization |
Steps To Reproduce | As group admin role:
Set the Alimentos y Supermercados, S.A. business partner as Tax Exempt
Set the Exempt tax rate (F&B US, Inc. organization) as Tax Exempt (check it's Valid From Date is newer than the one for Ventas Exentas tax rate)
Create a Sales Order for F&B España Región Norte and Alimentos y Supermercados
Add a line and check that when adding a product the Arrendamiento 16% (cobros) tax rate is selected (the first one in the combo list)
The problem is that the C_GETTAX function returns the id for the Exempt tax rate and as it is not in the organization tree of the document it is not shown in the combo |
Proposed Solution | The C_GETTAX function should filter by organization when the business partner is exempt |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0025992 | 3.0PR15Q2 | closed | reinaldoguerra | Tax rate is not automatically selected in invoice lines for exempt customers |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-11-03 12:09 | ngarcia | New Issue | |
2014-11-03 12:09 | ngarcia | Assigned To | => AtulOpenbravo |
2014-11-03 12:09 | ngarcia | OBNetwork customer | => Yes |
2014-11-03 12:09 | ngarcia | Modules | => Core |
2014-11-03 12:09 | ngarcia | Support ticket | => 32062 |
2014-11-03 12:09 | ngarcia | Resolution time | => 1418166000 |
2014-11-03 12:09 | ngarcia | Triggers an Emergency Pack | => No |
2014-11-03 12:10 | ngarcia | Target Version | => 3.0PR15Q1 |
2014-11-03 12:10 | ngarcia | Issue Monitored: networkb | |
2014-12-13 20:29 | reinaldoguerra | Assigned To | AtulOpenbravo => reinaldoguerra |
2014-12-13 20:29 | reinaldoguerra | Status | new => scheduled |
2014-12-22 16:30 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7313#r7313 |
2014-12-24 14:55 | reinaldoguerra | Note Added: 0072821 | |
2014-12-26 13:14 | umartirena | Relationship added | has duplicate 0025992 |
2014-12-26 13:17 | hgbot | Checkin | |
2014-12-26 13:17 | hgbot | Note Added: 0072838 | |
2014-12-26 13:17 | hgbot | Status | scheduled => resolved |
2014-12-26 13:17 | hgbot | Resolution | open => fixed |
2014-12-26 13:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e771ac26cf0930b50d6e9fb48254788863b809fd [^] |
2014-12-26 13:17 | umartirena | Review Assigned To | => umartirena |
2014-12-26 13:17 | umartirena | Note Added: 0072839 | |
2014-12-26 13:17 | umartirena | Status | resolved => closed |
2014-12-26 13:17 | umartirena | Fixed in Version | => pi |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073269 | |
Notes |
|
|
Test plan used:
1- Login into Openbravo ERP
2- Go to business partner window and select Alimentos y Supermercados, S.A.
3- Go to Customer tab and check Tax Exempt flag
4- Go to Tax Rate window
5- Set the Exempt tax rate (F&B US, Inc. organization) as Tax Exempt too (check Tax Exempt flag)
6- Check it's Valid From Date is newer than the one for Ventas Exentas tax rate
7- Create a Sales Order for F&B España Región Norte and Alimentos y Supermercados as business partner
8- Add a line and check that when adding a product, Entregas a Canarias,Ceuta y Melilla (%R=>0%) is selected as tax rate, as it is the first tax rate mark as exempt for F&B España ordering by Valid From date. |
|
|
(0072838)
|
hgbot
|
2014-12-26 13:17
|
|
Repository: erp/devel/pi
Changeset: e771ac26cf0930b50d6e9fb48254788863b809fd
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Tue Dec 23 11:46:18 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/e771ac26cf0930b50d6e9fb48254788863b809fd [^]
Fixed bug 28053: Tax is not selected when the business partner is set as exempt.
The callout applied in sales order line tax selector, now obtains tax rate for the header's organization tree when the business partner is set as Tax Exempt.
The C_GETTAX function was changed to filter tax rates taking into account the order's header organization tree. Now when creating a new order's line for a tax exempt business parter, the tax selector will show records for the correspondent organization tree.
---
M src-db/database/model/functions/C_GETTAX.xml
---
|
|
|
(0072839)
|
umartirena
|
2014-12-26 13:17
|
|
Code Review and Testing OK |
|
|
|
|