Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0039717 | Openbravo ERP | A. Platform | public | 2018-11-29 12:17 | 2018-12-11 20:22 | ||||||||||||||
Reporter | alostale | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR19Q1 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | Sandrahuguet | ||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0039717: unnecesary contention to create new documents in UI | ||||||||||||||||||
Description | It is not possible to create a new document in UI while there is a transaction holding a lock for that same sequence type. | ||||||||||||||||||
Steps To Reproduce | 1. In psql execute and keep it open with the transaction active: pi=> begin; BEGIN pi=> select AD_Sequence_DocType('466AF4B0136A4A3F9F84129711DA8BD3', '23C59575B9CF467C9620760EB255B389', 'N'); 2. Log in as F&B admin 3. Open Sales Order window 4. Click on new -> It is not possible to edit the new record, the UI keeps frozen waiting for default values 5. In pgsql execute commit; to finalize the transaction -> Now the default values appear and it is possible to continue | ||||||||||||||||||
Proposed Solution | The document proposed in UI on new records is just a proposal which is later properly set when saving the record. So there is no need to wait for locks in ad_sequence, it's better to provide a document number already proposed to a different document to fix it afterwards rather than waiting it to be unlocked. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | Performance | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2018-11-29 12:17 | alostale | New Issue | |||||||||||||||||
2018-11-29 12:17 | alostale | Assigned To | => platform | ||||||||||||||||
2018-11-29 12:17 | alostale | OBNetwork customer | => No | ||||||||||||||||
2018-11-29 12:17 | alostale | Modules | => Core | ||||||||||||||||
2018-11-29 12:17 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||
2018-11-29 12:17 | alostale | Tag Attached: Performance | |||||||||||||||||
2018-11-29 12:17 | alostale | Relationship added | related to 0039672 | ||||||||||||||||
2018-11-30 11:59 | alostale | Relationship added | related to 0015801 | ||||||||||||||||
2018-11-30 16:07 | galderromo | Issue Monitored: galderromo | |||||||||||||||||
2018-12-03 09:56 | alostale | Assigned To | platform => alostale | ||||||||||||||||
2018-12-03 09:56 | alostale | Review Assigned To | => vmromanos | ||||||||||||||||
2018-12-03 09:57 | hgbot | Checkin | |||||||||||||||||
2018-12-03 09:57 | hgbot | Note Added: 0108221 | |||||||||||||||||
2018-12-03 09:57 | hgbot | Status | new => resolved | ||||||||||||||||
2018-12-03 09:57 | hgbot | Resolution | open => fixed | ||||||||||||||||
2018-12-03 09:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3ff8ce5616bb33fc8a92b88fd2dfcda41a2b14f4 [^] | ||||||||||||||||
2018-12-05 12:00 | Sandrahuguet | Review Assigned To | vmromanos => Sandrahuguet | ||||||||||||||||
2018-12-05 15:38 | Sandrahuguet | Note Added: 0108293 | |||||||||||||||||
2018-12-05 15:38 | Sandrahuguet | Status | resolved => closed | ||||||||||||||||
2018-12-05 15:38 | Sandrahuguet | Fixed in Version | => 3.0PR19Q1 | ||||||||||||||||
2018-12-11 20:22 | hudsonbot | Checkin | |||||||||||||||||
2018-12-11 20:22 | hudsonbot | Note Added: 0108510 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|