Commit Graph

249 Commits

Author SHA1 Message Date
Martin Trigaux 8f2057a1c7 [FIX] survey: allow duplicate user answer
No reason to prevent as long as remove token

Fixes #7983, Closes #8009
2015-08-26 11:53:18 +02:00
Tony 4c610a31b9 [FIX] survey: allow change of previous answers for all questions types
Permission error on survey update
The user who answer the survey may not have delete permission for the user_input_line

In a survey, for a survey user (!= manager),
When browsing previous pages of anwsers,
the user wasn't allowed to change his answers
regarding simple choice, multiple choices and matrix
questions, as this kind of answers changes leaded to an
unlink operation, not allowed for survey users.

Closes #2901
2015-08-13 11:19:24 +02:00
Nick Booker c53951e0a5 [FIX] survey: typo, quizz to quiz
Fixes #4549
2015-01-08 13:14:06 +01:00
Jeremy Kersten 858f4cecde [IMP] survey: display sum for numerical answers 2014-09-03 11:06:50 +02:00
Thibault Delavallée ce5b5e6ba5 [FIX] survey: in prepare_result, result_summary variable could be returned without being initialized (error in question.type maybe, but anyway should be more secure) 2014-08-28 12:42:09 +02:00
Richard Mathot 413bc62503 [FIX] survey: regressions introduced in forward-port fd4fd35e32 2014-08-08 17:07:31 +02:00
Christophe Simonis d5e8b42690 [FIX] survey: use relative urls for url actions 2014-08-08 15:24:48 +02:00
Christophe Simonis fd4fd35e32 [MERGE] forward port of branch saas-5 up to e4cb520 2014-07-30 20:52:14 +02:00
Richard Mathot 5e1221b339 [FIX] survey: display comments in results 2014-07-25 14:48:57 +02:00
Richard Mathot eadd1b3907 [FIX] survey: correct counting of finished answers 2014-07-25 13:47:42 +02:00
Richard Mathot f0b6beac29 [FIX] survey: comments are properly recorded now 2014-07-25 13:47:42 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Olivier Dony 34bfa1b44f [MERGE] Forward-port saas-5 up to d9cda97 2014-07-05 01:45:45 +02:00
Richard Mathot 0b0c1fbdd6 [FIX] survey: catch exception while quizz mode 2014-07-01 15:56:50 +02:00
Richard Mathot 14fae54863 [FIX] survey: bug while recording comments 2014-07-01 15:37:27 +02:00
Richard Mathot 7721ddc7ad [FIX] survey: Nasty brackets... 2014-07-01 14:51:00 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Richard Mathot 6e93af4774 [FIX] survey: display labels in the right order in survey reporting views 2014-06-20 11:45:03 +02:00
Richard Mathot b7137a5ada [FIX] survey: ordering of questions/labels was buggy 2014-06-12 16:40:58 +02:00
Christophe Simonis 2138892723 [FIX] survey: handle the case where there is no stage available when searching default stage.
[FIX] survey: define survey.stage before using it in survey.survey

bzr revid: chs@openerp.com-20140417160306-0oeb928gpfwxoxhz
2014-04-17 18:03:06 +02:00
Richard Mathot (OpenERP) 1085389add [IMP] survey: imp in views to enable better config of quiz mode
bzr revid: rim@openerp.com-20140415091446-hj0xugog2u3almaw
2014-04-15 11:14:46 +02:00
Richard Mathot (OpenERP) 41447050e5 [FIX] Dirty fix: prevent crash in computing data from SCQ/MCQ/matrices by ignoring comments
bzr revid: rim@openerp.com-20140411120735-u04occnkchgm3ztc
2014-04-11 14:07:35 +02:00
Richard Mathot (OpenERP) 1fe3580fc6 [FIX] Correct saving of comments
bzr revid: rim@openerp.com-20140410150102-3bq9lz31sebigd9i
2014-04-10 17:01:02 +02:00
Richard Mathot (OpenERP) b7989fbeec [FIX] Correct saving of comments
bzr revid: rim@openerp.com-20140410145247-o2759q0r022ybp4q
2014-04-10 16:52:47 +02:00
Richard Mathot (OpenERP) 7dbc51e0d4 [IMP] Add default stage for surveys
bzr revid: rim@openerp.com-20140409145945-r32tdnexrbjxousu
2014-04-09 16:59:45 +02:00
Richard Mathot (OpenERP) d1070a8ad0 [TYPO]
bzr revid: rim@openerp.com-20140409145009-73y20g3ko7c3soq4
2014-04-09 16:50:09 +02:00
Richard Mathot (OpenERP) db8954d6dc [REF] code factoring
bzr revid: rim@openerp.com-20140409144547-70ujj2ej5tebj06i
2014-04-09 16:45:47 +02:00
Richard Mathot (OpenERP) 76621a0b24 [FIX] validation system: the last things
bzr revid: rim@openerp.com-20140409144224-6b00mnmihe8t1ii7
2014-04-09 16:42:24 +02:00
Richard Mathot (OpenERP) 1f3342acc4 [FIX] validation of MCQ
bzr revid: rim@openerp.com-20140409141307-79q4itmvvauzfg0j
2014-04-09 16:13:07 +02:00
Richard Mathot (OpenERP) efd4e33c0b [FIX] bugs in questions validation
bzr revid: rim@openerp.com-20140409135659-9m9jqbmcefk5uaou
2014-04-09 15:56:59 +02:00
Richard Mathot (OpenERP) fbfd9a6197 [FIX] Validation of the answers according to new criteria
bzr revid: rim@openerp.com-20140409133909-8dob25mei52sf7o4
2014-04-09 15:39:09 +02:00
Richard Mathot (OpenERP) f77034af5a [IMP] Model fortification
bzr revid: rim@openerp.com-20140409091009-rocy50615a4yg03d
2014-04-09 11:10:09 +02:00
Richard Mathot (OpenERP) e7766719fe [FIX] Fixing things & views with comment answers
bzr revid: rim@openerp.com-20140409085216-5knre0uoxygunazr
2014-04-09 10:52:16 +02:00
Richard Mathot (OpenERP) beeb188ae8 [REM] Vieux code tout pourri
bzr revid: rim@openerp.com-20140408152526-czfgswl0tf5gqqxe
2014-04-08 17:25:26 +02:00
Richard Mathot (OpenERP) 625e8f5fce [REM] Outdated code + typo
bzr revid: rim@openerp.com-20140408151959-csz5gomaswzf4sq8
2014-04-08 17:19:59 +02:00
Richard Mathot (OpenERP) 531f6b7e26 [REF] Moving code
bzr revid: rim@openerp.com-20140408150936-38bfieofd98lkam1
2014-04-08 17:09:36 +02:00
Richard Mathot (OpenERP) 126896311d [FIX] Fixing invitation wizard
bzr revid: rim@openerp.com-20140408150652-i1j4n5t9q1ip5m9c
2014-04-08 17:06:52 +02:00
Richard Mathot (OpenERP) 356f35f9b5 [DESTRUCTION] The commit that breaks everything...
(removing fields that won't be used anymore -- fixed code will follow)

bzr revid: rim@openerp.com-20140408145118-h55ntgml2frp0lt9
2014-04-08 16:51:18 +02:00
Richard Mathot (OpenERP) d59fdd8105 [IMP] Fixing views according to mockups
bzr revid: rim@openerp.com-20140408143912-7lctcrrp9cm0kg3r
2014-04-08 16:39:12 +02:00
Richard Mathot (OpenERP) d197bab150 [MERGE][IMP] Reporting system for surveys
bzr revid: rim@openerp.com-20140408135908-0h3qiohc84kx4b2r
2014-04-08 15:59:08 +02:00
Richard Mathot (OpenERP) 33fb17ab9f [IMP] Survey: Lots of usability improvements (wip)
bzr revid: rim@openerp.com-20140407133140-mu2dl1zkq6wazuob
2014-04-07 15:31:40 +02:00
Dharmraj Jhala (OpenERP) 37c390beb6 [IMP] merged methods get_finished_survey_input ids with filter_input_ids in survey.py and to retain correct filters improved exception handling in controller
bzr revid: dizzy.zala@gmail.com-20140403115423-171x3cbxie82qv8w
2014-04-03 17:24:23 +05:30
Dharmraj Jhala (OpenERP) 4e2942d418 [IMP] moved prepare_result and get_input_summary to the model from controller and some other improvements
bzr revid: dizzy.zala@gmail.com-20140403104637-dpqi4euo5czy3rsk
2014-04-03 16:16:37 +05:30
Dharmraj Jhala (OpenERP) a9c6fb3ec9 [IMP] uniform view of filters and some code improvements
bzr revid: dizzy.zala@gmail.com-20140403062552-oa002zg7kdlbxh56
2014-04-03 11:55:52 +05:30
Dharmraj Jhala (OpenERP) ca78346bf3 [IMP] moved business logic to model file from controller and other misc improvements
bzr revid: dizzy.zala@gmail.com-20140328133706-wwsg07sqgzr650pt
2014-03-28 19:07:06 +05:30
Richard Mathot (OpenERP) dafe2e2328 [REM] Duplicate menu in kanban view
bzr revid: rim@openerp.com-20140325154526-n2x67rlnsktm0993
2014-03-25 16:45:26 +01:00
Richard Mathot (OpenERP) 9b3bc55398 [FIX] Bug when duplicating surveys. OpenERP won't anymore duplicate user input lines
bzr revid: rim@openerp.com-20140325152736-ctug9axql2ub0cnn
2014-03-25 16:27:36 +01:00
Richard Mathot (OpenERP) a8117436ab [FIX] Typos and bullshit introduced in r10622
bzr revid: rim@openerp.com-20140325093023-07nvjr5543liobm9
2014-03-25 10:30:23 +01:00
Richard Mathot (OpenERP) 2c9b2f1b18 [IMP] Kanban view improvements 10-first-clicks
bzr revid: rim@openerp.com-20140325085155-c2ik8r09re5yyna5
2014-03-25 09:51:55 +01:00
Richard Mathot (OpenERP) 2ffa234d3d [IMP] survey:
- Kanban view refactoring
- Move to Marketing menu
[FIX] survey:
- stages display

bzr revid: rim@openerp.com-20140321145434-4l7wvpizqurdsj8v
2014-03-21 15:54:34 +01:00