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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051060
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-12-02 13:182022-12-27 08:33
ReportermalsasuaView Statuspublic 
Assigned Tojetxarri 
PrioritynormalResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051060: SAFT - TaxID is updated for the anonymous customer

DescriptionWhen the Customer TAX ID popup is used, the taxID is set to the receipt in the property saftrTaxId , but also, it is set to the anonymous customer and stored in local db.

In the PrepaymentHook, the line:
 receipt.get('bp').set('taxID', receipt.get('saftrTaxId'));
and later, the BP is save in local DB in the OBPOS_PreSyncReceipt hook, in line:
 OB.Dal.save(bp, null, null);

Steps To Reproducein POS:
1. in dev tools, check the taxID of the anonymous customer:
    select name, taxid from c_bpartner

2. add one product
3. click in total button > TAX ID Customer popup is displayed
4. fill the tax ID
5. complete the ticket

6. in dev tools, check the taxID of the anonymous customer >it changed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0050996pi closedjetxarri TaxId missing in cross tore return 

-  Notes
(0144676)
malsasua (developer)
2022-12-14 13:21

New issue found: when the BP used is "Desconhecido" (it is not anonymous customer but it has got the taxID 999999990), the taxID popup is displayed and it should not be displayed.

It is a change in the behavior caused by this commit:
https://gitlab.com/openbravo/customers/DKTPT/com.practicsbs.saftpt.retail/-/commit/194155bc7dbdbf06c48d956c0ee1d6da0f1c7363 [^]
(0145013)
jetxarri (reporter)
2022-12-27 08:33

This issue is not longer valid because the original issue 50996 has been fixed in a different way that does not create this issue

- Issue History
Date Modified Username Field Change
2022-12-02 13:18 malsasua New Issue
2022-12-02 13:18 malsasua Assigned To => Retail
2022-12-02 13:18 malsasua Triggers an Emergency Pack => No
2022-12-02 13:21 malsasua Assigned To Retail => aferraz
2022-12-02 14:05 aferraz Assigned To aferraz => jetxarri
2022-12-14 13:21 malsasua Note Added: 0144676
2022-12-14 13:22 aferraz Relationship added related to 0050996
2022-12-27 08:33 jetxarri Review Assigned To => aferraz
2022-12-27 08:33 jetxarri Note Added: 0145013
2022-12-27 08:33 jetxarri Status new => closed
2022-12-27 08:33 jetxarri Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker