Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030833
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementmajoralways2015-09-16 12:252015-09-19 18:59
ReporterVictorVillarView Statuspublic 
Assigned Todmiguelez 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1cf343c5c0ef
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030833: Create Sales Orders from Expenses is not working fine with Business Partner with Price list defined as 'Price Including Taxes'

DescriptionCreate Sales Orders from Expenses is not working fine with Business Partner with Price list defined as 'Price Including Taxes'
Steps To ReproduceAs Group Admin role,
Go to Product window:
   create a new Expense Product
Go to Price List window,
   Select General Sales and define it as 'Price Including Taxes'

 Go to Expense Sheet
    create a new one for US organization
  Add the product created before in the Lines tab.
  Reinvoicing: Yes
  Select Healthy Food Supermarkets, Co.
  Qty: 200
  Net unit price: 500
Process the expense.

Go to Create Sales Orders from Expenses.
  Date ordered: today
Process it.

 Go to the Sales Order window and realize that the new order created has not Total Gross amount, net unit price.....
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00305043.0PR15Q4 closedAtulOpenbravo "Gross List Price" information is not copied to invoice when using Generate Invoice from Receipt process 

-  Notes
(0080489)
dmiguelez (developer)
2015-09-18 11:38

As Group Admin role,
Go to Product window:
   Create a new Expense Product
     * Organization: España
     * Tax Category: IVA Normal
     * Product Type: Expense type
   In Price Tab create a new record for
     * Price List Version: Tarifa de Ventas
     * Unit Price: 10
     * List Price: 10
Go to Price List window,
   Select Tarifa de Ventas and check it as 'Price Including Taxes'

 Go to Expense Sheet
    create a new one for España organization
  Add the product created before in the Lines tab.
  Reinvoicing: Yes
  Select Alimentos y Supermercados as the Business Partner
  Qty: 200
  Net unit price: 500
Process the expense.

Go to Create Sales Orders from Expenses.
  Date ordered: today
Process it.

Check the Order created and verify that
  In the Header:
    * Total Gross Amount: 90.000
    * Total Net Amount: 74.379,54
  In the Line:
    * Line Gross Amount: 100.000
    * Line Net Amount: 82.644
    * Discount: -4.900
(0080503)
hgbot (developer)
2015-09-18 19:08

Repository: erp/devel/pi
Changeset: 1cf343c5c0ef78497a68b4b1e0eda653948432fd
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 17 18:04:32 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1cf343c5c0ef78497a68b4b1e0eda653948432fd [^]

Fixes Issue 30833. When generating a Sales Order from an Expense
it takes into account if the Price List defined is a Price List
that includes Taxes. In that case it sets grossPrice and grossLinePrice
 instead of netPrice and netLinePrice. Triggers in OrderLine will
take care of setting the correct values for the other fields.

---
M src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java
M src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder_data.xsql
---
(0080504)
hgbot (developer)
2015-09-18 19:08

Repository: erp/devel/pi
Changeset: 24be1a7ebba08b5543f89bee097257eb9d05ac90
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri Sep 18 19:04:58 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/24be1a7ebba08b5543f89bee097257eb9d05ac90 [^]

Related to issue 30833: code review improvements

Populate sales order line GROSSPRICELIST and GROSSPRICESTD columns

---
M src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java
M src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder_data.xsql
---
(0080505)
vmromanos (manager)
2015-09-18 19:08

Code review + testing OK
(0080514)
hudsonbot (developer)
2015-09-19 18:59

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/8da5a852c979 [^]
Maturity status: Test
(0080515)
hudsonbot (developer)
2015-09-19 18:59

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/8da5a852c979 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-09-16 12:25 VictorVillar New Issue
2015-09-16 12:25 VictorVillar Assigned To => Triage Finance
2015-09-16 12:25 VictorVillar Modules => Core
2015-09-16 12:25 VictorVillar Resolution time => 1442613600
2015-09-16 12:25 VictorVillar Triggers an Emergency Pack => No
2015-09-17 12:38 vmromanos Relationship added related to 0030504
2015-09-17 12:39 vmromanos Status new => scheduled
2015-09-17 12:39 vmromanos Assigned To Triage Finance => dmiguelez
2015-09-18 11:38 dmiguelez Note Added: 0080489
2015-09-18 19:08 hgbot Checkin
2015-09-18 19:08 hgbot Note Added: 0080503
2015-09-18 19:08 hgbot Status scheduled => resolved
2015-09-18 19:08 hgbot Resolution open => fixed
2015-09-18 19:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1cf343c5c0ef78497a68b4b1e0eda653948432fd [^]
2015-09-18 19:08 hgbot Checkin
2015-09-18 19:08 hgbot Note Added: 0080504
2015-09-18 19:08 vmromanos Review Assigned To => vmromanos
2015-09-18 19:08 vmromanos Note Added: 0080505
2015-09-18 19:08 vmromanos Status resolved => closed
2015-09-19 18:59 hudsonbot Checkin
2015-09-19 18:59 hudsonbot Note Added: 0080514
2015-09-19 18:59 hudsonbot Checkin
2015-09-19 18:59 hudsonbot Note Added: 0080515


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker