Commit Graph

32 Commits

Author SHA1 Message Date
Olivier Dony 49597f0e66 [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221164808-kdjrtcbgma4dr3on
2012-12-21 17:48:08 +01:00
Xavier Morel aabb0f38fa [FIX] base_import: only allow reloading the current file if there *is* a current file loaded
bzr revid: xmo@openerp.com-20121106084353-npwkbkg6r0wkwdrg
2012-11-06 09:43:53 +01:00
Fabien Pinckaers d658b2a6e5 [IMP] Import wizard, better explanations
bzr revid: fp@tinyerp.com-20121102103624-64vd1o41qq1tez2r
2012-11-02 11:36:24 +01:00
Vijaykumar Baladaniya e0bd5017e9 Add a sql file and their link.
bzr revid: vba@tinyerp.com-20121102063350-ce4q6cq38n84jz70
2012-11-02 12:03:50 +05:30
Vijaykumar Baladaniya c8a160f251 [IMP]Improve content.
bzr revid: vba@tinyerp.com-20121102060710-x5p5yl39n5qpe7ii
2012-11-02 11:37:10 +05:30
Vijaykumar Baladaniya 3a5334672f Add a proper file.
bzr revid: vba@tinyerp.com-20121101124315-30vw1xc6c4ajp3i5
2012-11-01 18:13:15 +05:30
Vijaykumar Baladaniya a45cdc652b [IMP]Improve Code and add a csv file.
bzr revid: vba@tinyerp.com-20121101111004-no023s4rzpze3i50
2012-11-01 16:40:04 +05:30
Vijaykumar Baladaniya b37dc17a3c [IMP]Import functionality in kanban views. and add a Frequently Asked Questions.
bzr revid: vba@tinyerp.com-20121029131746-ndc4qmd76xpne9ww
2012-10-29 18:47:46 +05:30
Vijaykumar Baladaniya 92133099cc [IMP]View Improvement
bzr revid: vba@tinyerp.com-20121029092750-tc6mm0xj1eiiwrqh
2012-10-29 14:57:50 +05:30
Vijaykumar Baladaniya 5ef878cd7d [MERGE]Merge with latest.
bzr revid: vba@tinyerp.com-20121029091942-s97xuoorvcywiped
2012-10-29 14:49:42 +05:30
Vijaykumar Baladaniya f22387e8c0 [IMP]Improve view.
bzr revid: vba@tinyerp.com-20121029090141-eapggkys3ltbyquh
2012-10-29 14:31:41 +05:30
Vijaykumar Baladaniya e945c2d6b3 [IMP]put a tooltip on the refresh button.
bzr revid: vba@tinyerp.com-20121029045026-lqvpzryidxjd9z3b
2012-10-29 10:20:26 +05:30
Vijaykumar Baladaniya 61986b3479 [IMP]View improvement.
bzr revid: vba@tinyerp.com-20121025134121-jn73k1lxta13idcg
2012-10-25 19:11:21 +05:30
Frédéric van der Essen a9d7f9ea60 [IMP] css: improved csv import css
bzr revid: fva@openerp.com-20121017165646-8u35781nm8skhulh
2012-10-17 18:56:46 +02:00
Xavier Morel f8a29989c8 [IMP] base_import: simplify styling of looks button
bzr revid: xmo@openerp.com-20121010112731-flw3bkijm229mr53
2012-10-10 13:27:31 +02:00
Xavier Morel 4dd9a0529e [ADD] reload file button next to the file input, as webkit browsers and MSIE don't trigger change when a file input is re-set to thee same file
Using other events (e.g. 'click') is not kosher as the event is
triggered long before the file is picked, the alternative is to use
the File API and regularly check the file in the input to see if it's
been altered (by storing a crc) and re-pushing it if the hash is
different. Of course this has other issues (risks catching the file
mid-edition...)

A third alternative is, once a file has been uploaded, to clear and
re-insert the corresponding file input. This means the file input will
*always* be empty

bzr revid: xmo@openerp.com-20121010101836-qtqmcc5n5zblgmcp
2012-10-10 12:18:36 +02:00
Xavier Morel 775fe69fc1 [IMP] base_import: always open CSV link in new window
bzr revid: xmo@openerp.com-20121008130856-fw0p92lofx7u27b2
2012-10-08 15:08:56 +02:00
Xavier Morel 8f3db5bcf1 [IMP] move file format options from below preview table to below file field
bzr revid: xmo@openerp.com-20121004102236-auj053d38tp5fpvy
2012-10-04 12:22:36 +02:00
Xavier Morel e8a7d276bf [IMP] highlight toggling between validation and import buttons
bzr revid: xmo@openerp.com-20121003121619-e6nbd78mfa5owycp
2012-10-03 14:16:19 +02:00
Xavier Morel f6544c801f [IMP] make import into a full-scene client action
* Correctly handle back (via history_back)
* Disable buttons when no file has been loaded yet
* Highlight import when a validation has yield no message

bzr revid: xmo@openerp.com-20121003121137-xo7lu5m5y0s7gyo1
2012-10-03 14:11:37 +02:00
Xavier Morel 771fae90d7 [IMP] base_import: better warnings when the file parsing has very likely failed
bzr revid: xmo@openerp.com-20121001142227-v1iypgjgfcq4pgo7
2012-10-01 16:22:27 +02:00
Xavier Morel da8ab1cc13 [FIX] link [CSV] to wikipedia
bzr revid: xmo@openerp.com-20121001110303-xkjjuhuxcb378cyx
2012-10-01 13:03:03 +02:00
Xavier Morel 4d7576393a [ADD] unstyled and incomplete handling of @moreinfo
action triggering is still missing

bzr revid: xmo@openerp.com-20120927074845-pb3osgymmtddglc0
2012-09-27 09:48:45 +02:00
Xavier Morel 27aeae974a [IMP] warning and error reporting during import
bzr revid: xmo@openerp.com-20120926165052-7eq4ne62h63zbqqm
2012-09-26 18:50:52 +02:00
Xavier Morel e401ca9d69 [IMP] re-introduce Import button/link when base_import is installed
bzr revid: xmo@openerp.com-20120911063849-xqw380wglzxviojf
2012-09-11 08:38:49 +02:00
Xavier Morel ad670b6887 [FIX] field-selection UI in import table: replace jquery-autocomplete by select2
* jQuery autocomplete requires complex hacks to work out and look
  select-ish
* select2 is more straightforward to use for people
  expecting <select> as it's styled similarly to a (non-standard)
  select
* select2 includes built-in support for groups, no need to hack it via
  interspersed fake options
* select2 provides a nice [x] button to remove the current choice
  without having to e.g. manually remove the content of the input

Why select2 instead of Chosen? Because Chosen isn't really setup to
work from array data, it wants selects serialized in the DOM, and
while the webkit bug I'd identified previously (see web client
revid:xmo@openerp.com-20110922085812-3u1esk6czraskm01) seems fixed in
the very latest webkits, it's still present in e.g. Safari 5.1 which
I'm using. So there.

And chosen's APIDoc is almost as bad as OpenERP's.

bzr revid: xmo@openerp.com-20120906103516-h94e6hd76w41bmyx
2012-09-06 12:35:16 +02:00
Xavier Morel cdb6869809 [IMP] add encoding csv option
and generify handling of options a bit, imprive styling, and rename 'quote' to 'quoting'

bzr revid: xmo@openerp.com-20120830141226-exli9s1hh4vij6sd
2012-08-30 16:12:26 +02:00
Xavier Morel 302cabfccb [IMP] Make CSV options (quoting and separator) customizable
Also autogen input ids so labels work correctly without collision risks, and make toggling links more flexible

bzr revid: xmo@openerp.com-20120830125232-d7g7s5oid4qivaq2
2012-08-30 14:52:32 +02:00
Xavier Morel 7f319f5a37 [ADD] blahblahblahblah
also basic CSS effects

bzr revid: xmo@openerp.com-20120814172322-1hx09qqh90umjdcq
2012-08-14 19:23:22 +02:00
Xavier Morel 8fa23a9518 [ADD] actual importing, no fields matching yet
also no error pinpointing because API does not allow for it currently

bzr revid: xmo@openerp.com-20120814141456-zh9kdbjy8wj1sxys
2012-08-14 16:14:56 +02:00
Xavier Morel 323b979146 [ADD] error reporting to user during preview
bzr revid: xmo@openerp.com-20120814124835-9nkqni98ie2eyt5r
2012-08-14 14:48:35 +02:00
Xavier Morel b8f93a7bc6 [ADD] base import logic: implement creating an import, uploading a file and displaying the preview
bzr revid: xmo@openerp.com-20120814121610-j2rpg7u5zh4h93j1
2012-08-14 14:16:10 +02:00