Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049890 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | major | have not tried | 2022-07-27 19:21 | 2022-07-29 12:05 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | normal | Resolution | invalid | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049890: Not possible to extend user action executability rule | |||||||
Description | Not possible to extend user action executability rule | |||||||
Steps To Reproduce | Having a user action with a defined executability rule. For example, IssueInvoice.js in org.openbravo.pos2. Try to add an extra executability rule for the same user action in the ob-init.js of an external module. For example: Registry.getUserAction('OBPOS2_IssueTicket').addExecutabilityRule( () => false ); Create a new ticket and check you can run Issue Invoice action, meaning the executability rule defined in the external module is not taken into account. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||
|
![]() |
|
(0139717) aferraz (viewer) 2022-07-29 12:05 |
I was registering the executability rule in the wrong user action. The executability rule works fine when using the correct user action. |
![]() |
|||
Date Modified | Username | Field | Change |
2022-07-27 19:21 | aferraz | New Issue | |
2022-07-27 19:21 | aferraz | Assigned To | => Triage Platform Base |
2022-07-27 19:21 | aferraz | OBNetwork customer | => No |
2022-07-27 19:21 | aferraz | Triggers an Emergency Pack | => No |
2022-07-27 19:22 | aferraz | File Added: Screenshot from 2022-07-27 19-22-12.png | |
2022-07-27 19:22 | aferraz | Relationship added | blocks 0049219 |
2022-07-28 14:27 | AugustoMauch | Assigned To | Triage Platform Base => ablasco |
2022-07-28 14:27 | AugustoMauch | Status | new => acknowledged |
2022-07-29 12:03 | aferraz | Status | acknowledged => scheduled |
2022-07-29 12:03 | aferraz | Assigned To | ablasco => aferraz |
2022-07-29 12:03 | aferraz | Status | scheduled => feedback |
2022-07-29 12:03 | aferraz | Status | feedback => new |
2022-07-29 12:05 | aferraz | Review Assigned To | => aferraz |
2022-07-29 12:05 | aferraz | Note Added: 0139717 | |
2022-07-29 12:05 | aferraz | Status | new => closed |
2022-07-29 12:05 | aferraz | Resolution | open => invalid |
Copyright © 2000 - 2009 MantisBT Group |