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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045297
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] French Fiscalmajoralways2020-10-23 17:062020-11-19 08:26
ReportermartinsdanView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version11
OS VersionUbuntu 18.04.1 LTSDatabase version10.10Ant version1.10.5
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Toaferraz
Regression introduced in release
Summary

0045297: It is not possible to cancel a Layaway for non returnable products even for non french clients

DescriptionIf the french localization is installed, the Unreturnable Product popup is shown even for non-French clients.
The code should not run for other clients.


module version: 1.0.101
Steps To Reproduce- Create a Layaway for a non-returnable product.
- Synch it
- Load it from the backend
- Cancel the Layaway
- Synch it

The Unreturnable product popup is shown.

This is true for other flows if the canceledorder is populated.
Proposed SolutionOnly run the createCanceledOrder function if it is a french client.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0124283)
vmromanos (manager)
2020-11-11 17:14

Test plan:

In POS:
Create a new ticket and add any product. Pay it.
Press Open Receipt and search for the previously created ticket.
Press Cancel and Replace
Add any new product and pay it. Verify the ticket has been successfully synchronized.

In the ERP:
Login as White Valley Group Admin
Go to POS Ticket window.
Search for the original ticket and export it. Open it and format so it's easily readable.
Verify the Ticket Tax tab show positive amounts.
Now search for the canceled ticket (ends with *R) and export it. Open it and format so it's easily readable.
Verify the Ticket Tax tab show negative amounts.

Run a diff between both json files. Verify the *R json has almost the same information as the original ticket, but the following entities are with negative sign:

GROSS
NET
TAXES.NET
TAXES.AMOUNT
LINES.GROSS
LINES.NET
LINES.QTY
LINES.TAXLINES.NET
LINES.TAXLINES.AMOUNT
(0124506)
vmromanos (manager)
2020-11-19 08:26

See:
https://gitlab.com/openbravo/projects/functional/ci/modules/org.openbravo.certification.france.dev/-/commit/8193a904b2012098f3047478026558eb81e678c6 [^]
https://gitlab.com/openbravo/projects/functional/ci/modules/org.openbravo.certification.france.dev/-/commit/415329fd4493c9bd106fa4fc1d626b2d76fbae72 [^]

- Issue History
Date Modified Username Field Change
2020-10-23 17:06 martinsdan New Issue
2020-10-23 17:06 martinsdan Assigned To => Triage Finance
2020-10-23 17:06 martinsdan Resolution time => 1604620800
2020-10-27 10:46 dmiguelez Resolution time 1604620800 => 1605222000
2020-10-27 11:55 aferraz Assigned To Triage Finance => aferraz
2020-11-10 16:16 vmromanos Status new => scheduled
2020-11-10 16:16 vmromanos Assigned To aferraz => vmromanos
2020-11-11 17:14 vmromanos Note Added: 0124283
2020-11-19 08:26 vmromanos Note Added: 0124506
2020-11-19 08:26 vmromanos Status scheduled => resolved
2020-11-19 08:26 vmromanos Resolution open => fixed
2020-11-19 08:26 vmromanos Review Assigned To => aferraz
2020-11-19 08:26 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker