From d22c121a107ca9938f63cc9ed58cc2da5effad33 Mon Sep 17 00:00:00 2001 From: "Bhumi Thakkar (Open ERP)" Date: Fri, 7 Oct 2011 17:52:46 +0530 Subject: [PATCH] [IMP]Fields attributes & format according to fields in formview. bzr revid: bth@tinyerp.com-20111007122246-67cavlpebuldrmk6 --- .../web_mobile/static/src/js/form_mobile.js | 76 ++++++++++++++++++- addons/web_mobile/static/src/web_mobile.html | 16 +++- .../web_mobile/static/src/xml/web_mobile.xml | 16 ++-- 3 files changed, 96 insertions(+), 12 deletions(-) diff --git a/addons/web_mobile/static/src/js/form_mobile.js b/addons/web_mobile/static/src/js/form_mobile.js index 69182a92f65..96694f1f784 100644 --- a/addons/web_mobile/static/src/js/form_mobile.js +++ b/addons/web_mobile/static/src/js/form_mobile.js @@ -48,6 +48,24 @@ openerp.web_mobile.FormView = openerp.web.Widget.extend({ } self.$element.html(self.render({'get_fields': get_fields, 'notebooks': notebooks || false, 'fields' : fields, 'values' : self.datarecord ,'temp_flag':'1'})); for(var i=0;i OpenERP Web Mobile - + + @@ -13,14 +14,23 @@ - + + + + + + + + + - + ++ diff --git a/addons/web_mobile/static/src/xml/web_mobile.xml b/addons/web_mobile/static/src/xml/web_mobile.xml index e4468fdeb15..1e9f2a93251 100644 --- a/addons/web_mobile/static/src/xml/web_mobile.xml +++ b/addons/web_mobile/static/src/xml/web_mobile.xml @@ -195,27 +195,27 @@ - - @@ -234,11 +234,11 @@ -