Commit Graph

955 Commits (0b9e4e7df42e6b2b7ffc9cd194aaf52bd47d424b)

Author SHA1 Message Date
Edwin Betancourt 9496d0937d
feat: Add grpc core client 1.0.7 (#502)
* feat: Add grpc-Core-Client v1.0.7.

* fix: isEmptyValue not defined

* change isEmptyValue.
2020-05-21 12:31:53 -04:00
elsiosanchez 635363a8e5
field search bug fix in LookupFactory (#501)
* field search bug fix in LookupFactory

* remove console
2020-05-21 11:13:45 -04:00
Yamel Senih 303baee821
Fixed error with instance for dictionary based on new implementation of gRPC access (#500) 2020-05-20 13:48:26 -04:00
Edwin Betancourt d24666370f
fix: Error with `this.unsubscribe is not a function` (#499) 2020-05-18 12:16:20 -04:00
Edwin Betancourt 5652d48f96
fix: Change role language undefined. (#498) 2020-05-16 11:18:54 -04:00
Yamel Senih 94b034c605
Fixed error with unnecessary call for context (#496) 2020-05-15 15:22:21 -04:00
Edwin Betancourt 8727beefdc
feat: Add grpc core client support. (#495)
* feat: Add grpc core client support.

* export instances and catching error.
2020-05-15 10:57:53 -04:00
elsiosanchez cfc03c6c9c
hide title on form (#493) 2020-05-12 03:13:26 -04:00
Yamel Senih c03a3278da
Add support to default date format from language definition (#494)
* Add support to default date format from language definition

* Add optional format for format field
2020-05-12 03:11:02 -04:00
Yamel Senih 175a8fb4d1
Add support to some translation (#492)
* Add support to some translation

* Fix role
2020-05-11 01:25:10 -04:00
Edwin Betancourt 3559c61e89
feat: Add handle focus to field. (#491)
* feat: Add handle focus to field.

* set example into test view and fix set focus with mounted hook.

* change named attributes.

* change attributes name to handleRequestFocus and handleContentSelection.
2020-05-08 17:01:06 -04:00
Edwin Betancourt 6f7b567195
feat: Add field locator warehouse (#490)
* Add locator wharehouse (#7)

* proposal for location component

* change props

* remove children if is empty

* redefine call data

Co-authored-by: leonel1524 <matosleonel0@gmail.com>

* feat: Add Locator Warehouse Field.

* remove unused code.

Co-authored-by: leonel1524 <matosleonel0@gmail.com>
2020-05-08 16:56:57 -04:00
Yamel Senih 9f59dee9cb
Rename test view to test (#489) 2020-05-06 16:10:33 -04:00
Edwin Betancourt 91f0e9805e
fix: Empty mandatory and read only fields. (#486) 2020-05-06 14:46:20 -04:00
Yamel Senih 50bac60614
Add support to ActionKeyPerformance event for implement enter event (#488) 2020-05-06 12:59:06 -04:00
elsiosanchez e424b84768
adjust the container to its maximum height (#487) 2020-05-06 11:11:47 -04:00
Edwin Betancourt e14171f335
fix: Not set value without fieldList. (#484) 2020-05-06 11:08:51 -04:00
Edwin Betancourt 74364f6c45
fix: Dashboard route path. (#483) 2020-05-06 11:07:26 -04:00
elsiosanchez 85468ffa0c
correcting duplicate path error (#482) 2020-05-06 11:04:16 -04:00
Yamel Senih 8d4f2a361f
Fixed error with document action request for documents (#481) 2020-05-04 22:34:01 -04:00
Yamel Senih 0079502942
Rename event handler for fields, add some commits: (#480)
- addActionPerformed
- addKeyPressed
- addKeyReleased
- addFocusGained
- addFocusLost
- addRunAction
2020-05-04 21:38:53 -04:00
Edwin Betancourt 46abc1f316
fix: Icon element component. (#479) 2020-05-04 10:49:00 -04:00
Edwin Betancourt 098de4d8f3
feat: Add autofocus and showControl attributes. (#478) 2020-05-01 18:00:05 -04:00
elsiosanchez 10bb3f19ea
add get country to system core (#476) 2020-04-30 15:46:56 -04:00
elsiosanchez a4a1cdb182
raname variable (#475)
* raname variable

* change conditional
2020-04-30 12:26:08 -04:00
Yamel Senih 49e82232f9
Add support to conditional for event handler (#474) 2020-04-30 00:44:03 -04:00
Yamel Senih 86fd3a432a
Bugfix/dynamic import (#473)
* first test es-lint babel.

* Update all dependencies and fix import dynamic import.

* Add support to docstatus

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-04-29 23:39:57 -04:00
elsiosanchez 983d3642c3
Hide and show context information (#471)
* Hide and show context information

* default value true

* rename variable

* rename variable
2020-04-29 17:11:31 -04:00
elsiosanchez b45619fa74
addAction (#470)
* addAction

* minimal change

* minimal change
2020-04-29 17:02:01 -04:00
Yamel Senih efe5f49e9e
Add functionality for event handler from any field, it define the follow global events: (#472)
- Action Performed: used for all **change** event
- Focus Gained: used for focus gained on field
- Focus Lost: used for focus lost on field
- Key Pressed: like to keydown
- Key Released: like keyup

For field events:
- notifyActionPerformed: when a value is changed
- notifyKeyPressed: when a key is press
- notifyKeyReleased: when a key is released
- notifyFocusGained: when a focus is gained in component
- notifyFocusLost: when a focus is lost from component
For Actions:
- notifyRunAction: used when a action is applied
Getters:
- getFieldEventList: get field event list from container UUID
- getActionEventList: get action event list from container UUID
2020-04-29 16:44:05 -04:00
Edwin Betancourt 6e9c48ad51
feat: Change size component implementation (#464)
* feat: Change size component implementation

* fix operators list.

* set size values in references.

* fix: Operator's comparison list.

* Set id with constants references.
2020-04-29 10:32:15 -04:00
Yamel Senih 840692cfb1
Just rename some functions for a definition more clean (#469) 2020-04-28 20:26:28 -04:00
Yamel Senih dc7221d886
Remove unnecessary store (#468) 2020-04-28 19:31:13 -04:00
Yamel Senih 1c133bc87c
Feature/#source code improve reorder implementation (#466)
* Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from 
backend or push, this pull request want reorder use of api by 
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all 
related with dashboard, note that already exist a file named 
dashboard.js with standard dashboard for ADempiere, if you want to add a 
new dashboard just create a new file <dashboard name>.js for gest info 
from backend
- ADempiere/form: used for all form, for now exist the first 
implementation named price-checking.js that matched with 
components/ADempiere/form/PriceChecking, if you want to add a new form 
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart 
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used 
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get 
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters 
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server 
but will be implemented for run rules directly for client on languages 
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like 
getWarehouseList and organization, also can be used for get langages and 
other infor from server
- ADempiere/values.js: get info like lookup list, default values and 
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log, 
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and 
implement functions like getTranslation from entity

* Improve source code and define structure for api
Note that currently does not exist a way for spared api and search from 
backend or push, this pull request want reorder use of api by 
functionality or tool:
- All inside ADempiere folder is dedicated for adempiere functionality
- ADempiere/dashboard: use this path for add your api resource for all 
related with dashboard, note that already exist a file named 
dashboard.js with standard dashboard for ADempiere, if you want to add a 
new dashboard just create a new file <dashboard name>.js for gest info 
from backend
- ADempiere/form: used for all form, for now exist the first 
implementation named price-checking.js that matched with 
components/ADempiere/form/PriceChecking, if you want to add a new form 
just add a new file here
- ADempiere/browser.js: browser is a native functionality for Smart 
Browser tool, just add here all functions related for browser
- ADempiere/private-access.js: just handle private access, will be used 
for add role table access and record access (nice to have)
- ADempiere/process.js: related with all action for process and get 
information from server like getProcessLog and others
- ADempiere/report.js: get info like getReportOutput from parameters 
used for window report and change print formats
- ADempiere/rule.js: for now is used for dispatch callouts from server 
but will be implemented for run rules directly for client on languages 
like javascript, kotlin and groovy
- ADempiere/system-core.js: just get generic functions like 
getWarehouseList and organization, also can be used for get langages and 
other infor from server
- ADempiere/values.js: get info like lookup list, default values and 
other values like systen configurator
- ADempiere/window.js: all functions related to window like record log, 
workflow log and other infor that can be used for container
- ADempiere/persistence.js: handle standard CRUD for all entities and 
implement functions like getTranslation from entity
2020-04-28 01:39:27 -04:00
elsiosanchez a5860e036d
lining up loading (#465) 2020-04-27 16:36:40 -04:00
elsiosanchez 5b3efd7a66
Fixed Style Role Navbar (#463)
* Fixed Style Role Navbar

* Rename translation for Client

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-24 18:15:52 -04:00
elsiosanchez 4e397e5636
fix infinite loop error in log record (#462) 2020-04-24 18:07:58 -04:00
Yamel Senih d6d9a2117e
Fixed error with set context from tables and browsers, it is a problem when exist one field depending, example: (#461)
C_BPartner_Location_ID depending of C_BPartner_ID
2020-04-24 15:48:08 -04:00
Edwin Betancourt 2453c673f4
fix: Default search SmartBrowser without mandatory query criteria fields (#459) 2020-04-24 10:00:47 -04:00
Yamel Senih 0529d20676
Rename form (#458) 2020-04-23 23:21:55 -04:00
Edwin Betancourt 0d7aa7c72f
fix: Mandatory fields empty. (#456) 2020-04-23 20:33:40 -04:00
Yamel Senih 9d59700aa5
Improves/reduce create form (#457)
* improves: Reduce and more easy create news Forms.

* fix: Overwrite template metadata component with metadata prop from mixin

* Add search from server for product price inquiry

* add isEvaluateValueChanges.

* Add support to latest version from POS client

* Add clean for all fields

* add style with prop cssClassName

* Add style for components

* fix subscribe mutation's and add set value and set values.

* Change error by info for form

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-04-23 20:26:18 -04:00
Yamel Senih a52d2ee0de
Add support to set warehouse and organization for current role (#455) 2020-04-22 03:08:09 -04:00
Yamel Senih b6450dc406
Add Dictionary fields from ADempiere (#454) 2020-04-20 01:12:42 -04:00
Yamel Senih ae787ba798
Fixed error wuth login is too long when a session is expired (#453) 2020-04-19 21:24:10 -04:00
Edwin Betancourt fbe00c4478
fix: Style form view. (#452) 2020-04-19 21:12:08 -04:00
Yamel Senih 42b5adb97c
Add overwrite definition for factory (#451) 2020-04-18 20:41:16 -04:00
Edwin Betancourt 20a3bc3025
feat: Add load dynamic form with fileName. (#450)
* feat: Add load dynamic form with fileName.

* Load Form metadata from server.
2020-04-18 16:43:07 -04:00
Edwin Betancourt 7fd5c8f334
fix: Test View error when change value into field. (#446)
* fix: Test View error when change value into field.

* remove console.log

* add support to references fields for manual forms

* fix logic's Test View.

* change definition lookup factory.

* Some changes

* Add support to factory from ADempiere

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-17 11:04:47 -04:00
Edwin Betancourt 9646f69708
feat: Add support to grpc-dictionary-client v1.3.8 (#449) 2020-04-17 10:11:20 -04:00
Edwin Betancourt b97877674d
feat: Add implementation grpc-Dictionary-Client v1.3.7 (#448) 2020-04-16 15:06:48 -04:00
Yamel Senih 5ef8db4cd8
Add support to POS service from API gRPC-POS-Client (#447) 2020-04-15 16:51:34 -04:00
elsiosanchez dcc956d07c
validate actions in Smart Browser (#442) 2020-04-14 00:11:56 -04:00
elsiosanchez 79cc4d0cbb
Activate the calculator enter action using a native JavaScript method (#441) 2020-04-14 00:11:14 -04:00
elsiosanchez 1ac405ef53
Bugfix/validate filled fields before saving (#444)
* Validate filled fields before saving

* remove console
2020-04-14 00:09:53 -04:00
Yamel Senih 7fcf5bb9a5
Feature/tets view (#445)
* feat: Add test view to components field.

* date component render.

* Change references.js location to util folder

* Add LookupFactory util loader to be improve:
- Number fields
- Table/Search/TableDir: Missing reference values
- All: field list is missing for it, maybe can be improve with 
IsCustomField attribute

* Change reference name

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
2020-04-14 00:09:17 -04:00
Yamel Senih b5441183fb
Revert "Set value to filter lookups list (#343)" (#443)
This reverts commit 6258abb6e1.
2020-04-09 02:10:43 -04:00
Leonel Matos 6258abb6e1
Set value to filter lookups list (#343)
* Set value to filter lookups list

* change data client version

* bugfix display value without label

Co-authored-by: Edwin Betancourt <EdwinBetanc0urt@hotmail.com>
Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-09 00:42:24 -04:00
Yamel Senih b653f430cd
Fixed error with ready for summit method for panel (#440) 2020-04-07 18:26:21 -04:00
Yamel Senih 8a792e1803
Fixed error with document action list component population (#439) 2020-04-07 17:48:24 -04:00
Yamel Senih 8d0fcc04f9
Fixed error with value for list (#438) 2020-04-07 16:53:36 -04:00
Edwin Betancourt 8385415ec0
fix #341 Send double values with 0 values in decimals (#342)
* fix convert float values to double values with grpc.

* Update package.json

* fix send double values with callout.

* Change Double value to Decimal value.

* fixed FIELDS_FLOATS to FIELDS_DECIMALS

* Change references by correct valuess Q

* Update version for data management

* Add support to latest version for data 2.1.6

Co-authored-by: Yamel Senih <ysenih@erpya.com>
2020-04-07 02:46:50 -04:00
Edwin Betancourt f9187f2795
fix: Refresh window records should not run callout. (#437) 2020-04-06 13:16:36 -04:00
Edwin Betancourt 5259c6c408
fix: Without title in some view's component. (#436)
* fix: Without title in some view's component.

* fix name attribute.
2020-04-06 13:15:47 -04:00
Edwin Betancourt 78e2c19468
fix: Lookup with -1 as default value. (#435) 2020-04-06 13:12:55 -04:00
Edwin Betancourt a617189dc7
fix: Without data refreshing on different child tab than the first. (#433) 2020-04-05 21:53:14 -04:00
Yamel Senih 981c96551b
Fixed error with parameter name for workflow process used for document action for documents (#431) 2020-04-02 23:25:53 -04:00
Yamel Senih 80f62e6fdd
Fixed error with call service for list document statuses when a record is new (#430) 2020-04-02 23:21:57 -04:00
Yamel Senih 8779ff2441
Remove default table C_Order hardcoded from list workdlows (#429) 2020-04-02 23:17:51 -04:00
Edwin Betancourt c8146819e4
fix: Context menu relations in report view. (#427) 2020-04-02 19:53:16 -04:00
Edwin Betancourt 927de4aa33
improves: Optimize the times data is consulted in the vuex store (#426)
* improves: Optimize the times data is consulted in the vuex store

* Improves to get store tab.
2020-04-02 04:06:54 -04:00
elsiosanchez ee9feded0c
error requests when advanced query (#424)
* current record request in the container info

* Delete unnecessary console
2020-04-02 04:03:06 -04:00
Leonel Matos 24a2a09762
fix #421 Display field type date in table (#422) 2020-03-27 17:39:15 -04:00
Edwin Betancourt a1b3b25c2b
fix: Run print format without operator's. (#420) 2020-03-27 16:59:09 -04:00
Leonel Matos ee937abbe0
bugfix send values to server from calculator (#380)
* bugfix send values to server from calculator

* bugfix send values to field

* bug fix in allowed values

* support disabled to calculator

* change method of comparing regular expression

* bugfix calculate value from new record

* some bugfix

* bugfix values

* changes for values

Co-authored-by: elsiosanchez <elsiosanches@gmail.com>
Co-authored-by: erp <erp@erp.erp>
2020-03-27 16:37:29 -04:00
Edwin Betancourt c0c758d7ff
fix: Reset parameters after run Process. (#415)
* fix: Reset panel after run Process.

* Minimal changes.
2020-03-27 16:36:28 -04:00
Edwin Betancourt f47dea22df
fix: Run callout's after change values in all field's. (#418)
* fix: Run callout's after change values in all field's.

* change to pomisse getCalloyut and await getContextInfoValueFromServer
2020-03-24 21:42:34 -04:00
elsiosanchez e6fd209d2b
reolve the activate focus primary field (#417) 2020-03-24 21:40:02 -04:00
Edwin Betancourt 8c9e2f0513
fix: Print formats unnecessary request. (#414) 2020-03-24 21:34:57 -04:00
Edwin Betancourt 1e837db9e0
fix: Run process notification without session (#413)
* fix: Show notification run process without session.

* close notification after response.
2020-03-24 21:32:22 -04:00
Edwin Betancourt 8258da6001
fix: Console error when login redirect to window. (#412)
* fix: Console error when login redirect.

* Update file.
2020-03-24 21:28:51 -04:00
Leonel Matos 83081b6d6d
bugfix load data in tab childs after save record (#409)
Co-authored-by: erp <erp@erp.erp>
2020-03-16 19:11:52 -04:00
Edwin Betancourt 9dbf57a877
fix: Values in fields lookup (#407) 2020-03-16 19:08:25 -04:00
elsiosanchez b45740e3a3
indicate new record in parent table (#406) 2020-03-16 19:05:12 -04:00
Edwin Betancourt 20dfa472b1
fix: #401 Display logics show more fields than they need to be (#402)
* fix: #401 Display logic's showed fields.

* Update evaluator.js

* minor changes.
2020-03-16 16:19:50 -04:00
Edwin Betancourt 7fe04ce531
fix: Loses role of session. (#405) 2020-03-11 21:47:39 -04:00
elsiosanchez a51989f3ec
Select at 0 in the table (#403)
When the select is empty in the table it shows the value 0 you should place it white
2020-03-11 21:46:35 -04:00
Edwin Betancourt f0f0c81f03
fix: #398 Wrong distribution of field size. (#399) 2020-03-11 21:40:05 -04:00
Edwin Betancourt d03de8b2a2
improves: Add state restart for modules that manage and store data. (#397) 2020-03-11 21:38:41 -04:00
Edwin Betancourt 902832ee79
fix: The references associated with a record are not displayed. (#396) 2020-03-11 21:36:44 -04:00
elsiosanchez 773c28089d
solve problems of split panel styles (#392) 2020-03-11 21:35:43 -04:00
Edwin Betancourt 206fedb198
fix: Default values that are @SQL= on the first load (#391) 2020-03-11 21:34:21 -04:00
Leonel Matos b2c5f894ec
bugfix load context info of fields (#390) 2020-03-11 21:33:31 -04:00
Leonel Matos a589941a30
fix set field definitions (#389) 2020-03-11 21:30:37 -04:00
elsiosanchez acedbb88de
Show sequence options in the table menu (#388)
* Show sequence options in the table menu

* Open sequence modal
2020-03-11 21:28:20 -04:00
Edwin Betancourt 876b51cce3
fix: #386 Value preference with session context. (#387)
* fix: Value preference with session context.

* fix set value in field isParentLink or isKey

* remove unused attribute.

* Add additional attributes fieldTemplate.
2020-03-11 21:27:09 -04:00
Edwin Betancourt f57a3bd11e
fix: Unnecessary request in tab children. (#385) 2020-03-11 21:24:33 -04:00
elsiosanchez fab480816b
unnecessary requests (#383)
* unnecessary requests

* validate isDocument

* validate when new registration
2020-03-11 21:23:05 -04:00
elsiosanchez 2c586f6a7e
Add default icon to run a Report or Process by default (#382) 2020-03-11 20:58:07 -04:00
elsiosanchez d8f4b7e89c
identificate new record (#381)
* new record in table parent

* validate is new record
2020-03-11 20:56:21 -04:00