erp_forms 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ module ErpForms
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
data/lib/erp_forms.rb CHANGED
@@ -15,6 +15,6 @@ require "erp_forms/engine"
15
15
  module ErpForms
16
16
 
17
17
  def self.use_solr?
18
- Object.const_defined?('ErpSearch') and ErpSearch::Config.use_solr_for_dynamic_form_models
18
+ ErpBaseErpSvcs.engine_loaded?('ErpSearch') and ErpSearch::Config.use_solr_for_dynamic_form_models
19
19
  end
20
20
  end
@@ -344,7 +344,7 @@ Ext.define("Compass.ErpApp.Desktop.Applications.DynamicForms.DynamicDataGridPane
344
344
  url: '/erp_forms/erp_app/desktop/dynamic_forms/forms/get',
345
345
  method: 'POST',
346
346
  params:{ // params can come from create response or grid store
347
- id:(Ext.isEmpty(rec.model_name) ? rec.get("form_id") : rec.form_id),
347
+ //id:(Ext.isEmpty(rec.model_name) ? rec.get("form_id") : rec.form_id),
348
348
  record_id:(Ext.isEmpty(rec.model_name) ? rec.get("id") : rec.id),
349
349
  model_name:(Ext.isEmpty(rec.model_name) ? rec.get("model_name") : rec.model_name),
350
350
  form_action: 'update'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-14 00:00:00.000000000 Z
12
+ date: 2013-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dynamic_attributes