Commit Graph

468 Commits

Author SHA1 Message Date
Thibault Delavallée 8fa7318178 [FIX] project, issue: change user_id + date_start
project.task: use an onchange to update date_start when changing user_id.
Indeed date_start is automatically updated in the create / write. Without
the onchange, this may lead to errors related to date_start being greater
then date_end.

project.issue: code in create and write now takes into account date_open
values given to the method and avoid erasing them.
In issue however the onchange is not added. Indeed the date_open and
date_closed fields are not visible in the view. They are automatically
computed and used to compute statistics.
2015-11-23 17:36:40 +01:00
Thibault Delavallée f57e580f2d [FIX] project_issue: correctly update alias
When choosing use tasks / use issues, correctly update the project alias. Indeed
only the use issues checkbox had an onchange. This revision adds the onchange
on use tasks so that the method correctly computes the new alias destination model.

Also updated the _get_alias_models method to be more modular instead of hardcoding
values. Call super.
2015-11-18 14:41:56 +01:00
Denis Ledoux f7723037d6 [MERGE] forward port of branch saas-3 up to 8c4a7cb 2014-11-04 12:30:01 +01:00
Denis Ledoux 8c4a7cb371 [MERGE] forward port of branch 7.0 up to 5035c76 2014-11-04 12:19:58 +01:00
Sheth Sunny 576218b003 [IMP] project_issue : correct model name in onchange method
There is no model project.issueS, making the onchange select an inexistant model.
Fixes #3418
2014-11-03 20:16:56 +01:00
Julien Legros 6a95c9cf3e [FIX] project_issue: explicit store attribute for the progress function field
This is a workaround for an ORM limitation. A stored function field is
not updated when it should if the "source" field is also a stored function
field
2014-10-30 18:07:07 +01:00
Thibault Delavallée 7cad4baa84 [FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
2014-09-18 11:18:30 +02:00
Thibault Delavallée 78a9a6fcaa [FIX] crm, hr_recruitment, task, issue: fixed default priorities + order based on priority (desc for everyone now) 2014-08-22 14:39:36 +02:00
Richard Mathot 968813cc57 [FIX] project,project_issue: display order
Task/issues shuld be sorted on descending priority
2014-08-20 11:12:33 +02:00
Thibault Delavallée 622b52d262 [FIX] project_issue, resource: fixed computation of hours / days to open (assign) or close an issue. Those fields now have a conditional store, because they were not recomputed even when changing date_open and date_closed. Changing the stage now correctly changes the date_closed. Also added some fixes in resource module, the date was not correctly taken into account when computing the number of working hours between two dates. 2014-08-07 08:54:09 +02:00
Christophe Simonis 120a2c1ec1 [FIX] {base_action_rule,calendar,hr,mail,project_issue}: decorate the method `message_post` to specify signature 2014-07-28 18:07:17 +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
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Randhir Mayatra 053a2b2e42 [IMP] remove dependancy of crm on project_issue 2014-06-23 12:33:08 +02:00
Thibault Delavallée 719a4f02c9 [REF] mail, crm, hr_recruitment, project, project_issue: simplified reply-to of notification emails (now displaying 'YourCompany -docname- <email>' instead of 'Followers of ...'; added same_thread directly on the mail.message model to ease the reply_to and message-id computation; factorized a bit the reply-to generation for a batch of records; udpated tests accordingly. 2014-06-23 10:47:47 +02:00
Thibault Delavallée ea1e0e3275 [CLEAN] crm, hr_recruitmnet, project: cleaned priority / kanban state in kanban views
bzr revid: tde@openerp.com-20140508152536-s3my5onl33z3kxxx
2014-05-08 17:25:36 +02:00
Thibault Delavallée 400b194d60 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140508123529-w91cb0e6ugzutqd1
2014-05-08 14:35:29 +02:00
Gery Debongnie e83709bdcc [FIX] code cleanup (addon project_issue)
improves the code of _issue_count (both in partner and in project).  This makes the issue_ids field in res_partner useless,
so issue_ids is also removed.

bzr revid: ged@openerp.com-20140507132949-tbtd4pl33zwhzgwd
2014-05-07 15:29:49 +02:00
Barad Mahendra 07ccf397a3 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140507104533-jeorqz7rtx8m8i1c
2014-05-07 16:15:33 +05:30
Gery Debongnie 2e9ee9c76e [MERGE] merge from rma branch
bzr revid: ged@openerp.com-20140410145131-fj17mdpi13wa5a9m
2014-04-10 16:51:31 +02:00
Barad Mahendra 0522e80ea5 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140408123641-0qyrg1fmgguezmro
2014-04-08 18:06:41 +05:30
Christophe Simonis 0fad8159f3 [MERGE] forward port of branch saas-3 up to revid 9380 chs@openerp.com-20140407144439-10n8fs6zovodwwtx
bzr revid: chs@openerp.com-20140407163318-hh3jwfkj3o2c83lk
2014-04-07 18:33:18 +02:00
Christophe Simonis db6fb31870 [MERGE] forward port of branch 7.0 up to revid 9954 chs@openerp.com-20140403153129-jq9zc7ityoy25c73
bzr revid: chs@openerp.com-20140403155904-ya5mas5s3g7ivihb
2014-04-03 17:59:04 +02:00
Barad Mahendra c395f97d13 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140403123831-nb68n6863f9cnfc1
2014-04-03 18:08:31 +05:30
Olivier Dony 4fe43d9ac6 [FIX] project,project_issue: missing indexes on stage/state/project_id/user_id
bzr revid: odo@openerp.com-20140402110700-h3ryoroibj1m92ig
2014-04-02 13:07:00 +02:00
Denis Ledoux 07ae370d90 [FIX] project, project_issue: overwritten method on_change template, wrong signature, following commit 9277 revid:dle@openerp.com-20140401123657-ozh4ycx36jojpg51
bzr revid: dle@openerp.com-20140401144205-cmm5vfzlpsro0f7j
2014-04-01 16:42:05 +02:00
Randhir Mayatra rma-openerp 0f40b3bc8f [IMP] convert button into stat button for project_issue and stock_claim
bzr revid: rma@tinyerp.com-20140324050921-qxn3n4getus3il6c
2014-03-24 10:39:21 +05:30
Randhir Mayatra rma-openerp b51066b500 [IMP] convert button into stat button for customer
bzr revid: rma@tinyerp.com-20140320134414-mk1ie8okynrtudsq
2014-03-20 19:14:14 +05:30
Randhir Mayatra rma-openerp df53c3f970 [IMP] improve code
bzr revid: rma@tinyerp.com-20140320112017-03miv5s8jovz0iac
2014-03-20 16:50:17 +05:30
Randhir Mayatra (OpenERP) fbb5eea4ba [IMP] convert button into stat button for project
bzr revid: rajmyt@gmail.com-20140320094614-53ix0c0fdgrzbmsc
2014-03-20 15:16:14 +05:30
Barad Mahendra 1cfa94706b [Merge]with trunk
bzr revid: mba@tinyerp.com-20140318084344-cuwdqdtphsk6xd7j
2014-03-18 14:13:44 +05:30
Denis Ledoux e28677f727 [FIX]project: chosend beginning stage for new project_issue sequence <= 1 (instead of =, same behavior than in tasks)
bzr revid: dle@openerp.com-20140227122938-i0s6dfxd42pl6ov3
2014-02-27 13:29:38 +01:00
Mahendra Barad (OpenERP) 8139bbdd24 [IMP]add sybtype for project issue in ready state
bzr revid: mba@tinyerp.com-20140224044547-pm0acqg1gr0hbi19
2014-02-24 10:15:47 +05:30
Mahendra Barad (OpenERP) 3ed1c1b3a6 [IMP]improved priority and remove unused methods
bzr revid: mba@tinyerp.com-20140214114937-uzli19c8anu40lgn
2014-02-14 17:19:37 +05:30
Mahendra Barad (OpenERP) fe44b42f76 [IMP]remove unwanted methods
bzr revid: mba@tinyerp.com-20140108050517-q4erb4277erwvoh4
2014-01-08 10:35:17 +05:30
Mahendra Barad (OpenERP) 8eb7fb82de [IMP]added the legend widget for priority and kanban state
bzr revid: mba@tinyerp.com-20140107131134-fho22izhbw86w1w5
2014-01-07 18:41:34 +05:30
Christophe Matthieu fd2821086f [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150925-eqsi0uu0fqtwimhj
2013-12-02 16:09:25 +01:00
Christophe Simonis bb1e256f5b [MERGE] forward port of branch saas-2 up to revid 9010 dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: chs@openerp.com-20131125150054-b135qshkx6icakgk
2013-11-25 16:00:54 +01:00
Fabien Pinckaers fb0abe39bc [WIP] EVENT: new features required for community days/big events
Manage tracks/talks
	Allow a dedicated menu per event
	Allow a blog per event, to announce stuff
	A "Call for Proposal" page

bzr revid: fp@tinyerp.com-20131124185434-hwyluq90e2g4g7tj
2013-11-24 19:54:34 +01:00
Martin Trigaux 57ea381cac [REF] project_issue: remove unused method convert issue to task (button was removed from view at rev 6898)
bzr revid: mat@openerp.com-20131121152502-kpsax7jze1cc7lbl
2013-11-21 16:25:02 +01:00
Olivier Dony 44664076da [MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o
bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z
2013-11-20 15:43:18 +01:00
Thibault Delavallée 9537e55894 [FIX] hr_recruitment: avoid overriding email_from and email_cc in
message_update. This behavior makes sens only in message_new when
setting initial parameter of the applicant, not when somebody sends
an email on the record.
Removed priority change when there is  a 'priority' key in msg; but
this key is not likely to be present in a parsed email.
Removed updated values change due to a mapping of values present in
the email. This code was a copy-and-paste from crm and did not have
any meaning in hr_recruitment.

Also removed unnecessary code in project, project_issue, crm_helpdesk
and crm_claim for the same reasons as for hr_recruitment.

bzr revid: tde@openerp.com-20131104092731-ixasweoy1dbllbb3
2013-11-04 10:27:31 +01:00
Thibault Delavallée d1c5c84a85 [MERGE] Sync with saas-2
bzr revid: tde@openerp.com-20131104105827-gbpsn66twnon20rw
2013-11-04 11:58:27 +01:00
Christophe Simonis 12690a7cfe [FIX] project_issue: correct issue escalation
bzr revid: chs@openerp.com-20131028145712-a6egn04g1g2va5cs
2013-10-28 15:57:12 +01:00
Thibault Delavallée d56d97ec62 [REV] project: like before for CRM (see previous commit) reverted
most changes about stages.

Override in project_mrp is back therefore.

bzr revid: tde@openerp.com-20131023113716-jw8jh1jvn4dgpcyr
2013-10-23 13:37:16 +02:00
Thibault Delavallée 6c54232c98 [IMP] Stage/State update part 2
- stages: added some fields
-- closed: indicates whether this stage close the working process, for
example task ended, lead lost, applicant hired
-- bar_fold: whether to hide the state in the statusbar; this is different
from fold that is used for kanban views. Viewing a pipe or a specific
record are effectively different things and should use different fields.
-- bar_color: field to customize the stage in the statusbar (still WIP)

- impacted addons: crm, project, project_issue, hr_recruitment
- removed 'closed' addition in project_mrp as this is now in base project
module

bzr revid: tde@openerp.com-20131018132120-h0pv01q2bagtp99x
2013-10-18 15:21:20 +02:00
Denis Ledoux f42b33100d [FIX]project_issue: add onchange_partner_id which was inherited before with base_stage, but the inheritance has been removed
bzr revid: dle@openerp.com-20131015141355-xfu9gq0xyy19bmgl
2013-10-15 16:13:55 +02:00
Thibault Delavallée c147dd4975 [IMP] crm, hr_recruitment, project_issue: removed message put in description in message_new
bzr revid: tde@openerp.com-20130822094613-os846v2g3t2dloo5
2013-08-22 11:46:13 +02:00
Thibault Delavallée 525aee7a86 [MERGE] [REM] [REF] base_status removal
Impacted addons:
- crm_meeting (in base_calendar)
- crm_phonecall
- crm_helpdesk

Removed inheritance towards base_state. Case management (date_open, date_close and duration computation in crm_phonecall) is now directly implemented in write method, to avoid having 2 ways of doing things. Changing state is done through the clickable statusbar widget, allowing to remove most buttons.

Removed base_status module.

Fixed some existing case_* methods in hr_recruitment / project_issue.

bzr revid: tde@openerp.com-20130821132435-skezfvp9phju5tea
2013-08-21 15:24:35 +02:00
Olivier Dony c02afb45fa [MERGE] Forward-port of bugfixes from saas-1 series up to rev.8759 rev-id: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
bzr revid: odo@openerp.com-20130820165258-3mjzbo990xg44dfu
2013-08-20 18:52:58 +02:00