Commit Graph

948 Commits

Author SHA1 Message Date
Xavier Morel 14d7e20def [FIX] project: don't copy remaining hours when duplicating tasks
Since we're not duplicating work items when duplicating tasks during
project duplication, it doesn't make sense to duplicate the
likely correspondingly adjusted remaining hour.

Behave as if the planned hours had just been set/reset and set the
remaining hours of the new task to that instead.

fixes #8985
2015-10-09 18:57:46 +02:00
Pedro M. Baeza 675d09c005 [FIX] fields_view_get super arguments
The context argument needs to be passed as positional argument to avoid issues
when surcharging fields_view_get

Closes #7933
2015-08-27 11:07:11 +02:00
Goffin Simon 60c94c7c42 [FIX] project: Working Time Progress
The precision of the field 'hours' in project.task.work and the precision of
'remaining_hours' are not the same. This is why the difference between them can
generate some very small negative difference which implies an infinite percentage for
the working progress time.

opw:643649
2015-07-01 08:55:10 +02:00
Denis Ledoux cf4d14ce39 [MERGE] forward port of branch saas-3 up to 09b277c 2015-04-27 14:02:52 +02:00
Denis Ledoux d6ae7fb7db [MERGE] forward port of branch 7.0 up to 3e7d3c7 2015-04-27 12:19:43 +02:00
Martin Trigaux 641c25b2e6 [FIX] project: typo 2015-04-24 11:19:34 +02:00
Josse Colpaert 6dcccae568 [FIX] project: use selected unit of measure in gantt display
Hack to use working time unit in gantt view. Similar to 533399f for project.task
Fixes lp:1108913, opw 613979
2015-04-24 10:53:54 +02:00
Rucha Dave 57c97784a9 [IMP] Project: modified set_remaining_time function to improve functionality of Initially Planned Hour(s) 2015-04-15 16:16:39 +02:00
Christophe Simonis 8ad11055bb [MERGE] forward port of branch saas-3 up to 12f600c 2015-04-01 19:13:25 +02:00
Christophe Simonis 12f600cec9 [MERGE] forward port of branch 7.0 up to 35077af 2015-04-01 19:07:59 +02:00
Martin Trigaux 1219b56bcc [FIX] project: change view according to project uom
The working time unit can either be hours or days. In case of days, should
replace the references to hours in the view to days. In case of days, use float
field instead of float_time.

Using the string 'Hours' as a way to determine the unit is too weak as:
1. it does not work in other language than english
2. if the unit is renamed (*cough* 1626eca *cough*), it will fail as well

Using the object with context to compare strings in the user language.
lp:1080191, opw 595397
2015-03-31 16:01:14 +02:00
Martin Trigaux f7234f3cea [FIX] project: correctly set progress of task
When setting a task as done, the state is done and the progress written to 100%.
If this task is reopened, the progress was not resetted as the stage is changed
but not the state (still done).
Partially backport behaviour of 8.0 (8fbfc997) by using the fold attribute
instead of the state to reset the progress.
opw 597688
2015-03-31 14:12:14 +02:00
Christophe Simonis 416f0246ac [MERGE] forward port of branch saas-3 up to 4a3c471 2015-03-09 12:03:22 +01:00
Christophe Simonis 4a3c4713e9 [MERGE] forward port of branch 7.0 up to 209ce6f 2015-03-09 11:24:32 +01:00
odoo-tac 209ce6f48c [FIX] Fixed a typo in project.py exception message 2015-03-06 17:11:57 +01:00
Denis Ledoux 7ffbb8d142 [FIX] project: task count button & link
The tasks list view "act_project_project_2_project_task_all"
always displays inactive tasks ("'active_test': False" in context).

Both the link in the kanban and the button in the form
leading to this list view should therefore counts both
inactive & active tasks.

opw-628672
2015-02-23 16:08:42 +01:00
Miku Laitinen 87dcaa95f5 [FIX] project: missing translations
The labels for fields 'use_tasks', 'partner_id', 'date_start' had no valid string (autogenerated or unrelated).
Make the selections of the field privacy_visibility translatable.
Fixes #3435
2014-11-05 21:29:17 +01:00
Martin Trigaux 8843974d04 Forward port of branch saas-3 up to fc9fc3e 2014-10-06 15:52:23 +02:00
Young Joy dfc2e1ce1b [FIX] project: typo in protect.task create
that typo will cause project task create error when set date_end before the time right now
2014-10-06 11:39:27 +02:00
qdc f57787e07e [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +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
Christophe Simonis 5a5f811d23 [REVERT] commit 5e5c73e
Branch 8.0 is a **stable** branch. This mean no database schema
changes.
2014-08-22 13:59:22 +02:00
qdc 5e5c73e7ba [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-22 09:49:09 +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
Olivier Dony 2bbff57691 [IMP] hr,mail,product,project,base: use @auto_join=True on _inherits FK field
This can give a performance boost on large databases
and should not be a concern in terms of access control
as the inheritance already grants access to the parent
records.
2014-08-07 18:03:08 +02:00
Nhomar - Vauxoo 8472ee9f45 [FIX] project: inappropriate signature in project.task.work.unlink() 2014-07-14 13:38:41 +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
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 e5379bc1a0 [IMP] project: task: added reviewer_id field, linking towards a res.users, that is the
reviewer of the task. This field is automatically tracked, using a small update of the get_auto_subscribe_fields method that is
weirdly implemented.
2014-06-11 10:40:39 +02:00
Thibault Delavallée 222e26628a [FIX] crm, crm_partner_assign, res_partner, mail, project: removed deprecated fields, deprecated methods + references to it; also removed deprecated tags on things that are not deprecated anymore. Everything is under control. 2014-06-11 08:44:40 +02:00
Thibault Delavallée aa08287d08 [FIX] document, mail, project: re-add tree view for attachments removed at revision 9279 and 9280
when adding a kanban view for documents.
2014-05-13 13:18:37 +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
Barad Mahendra 07ccf397a3 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140507104533-jeorqz7rtx8m8i1c
2014-05-07 16:15:33 +05:30
Barad Mahendra a95649e199 [REV]unwanted changes
bzr revid: mba@tinyerp.com-20140416105120-wp2krz40g026s37n
2014-04-16 16:21:20 +05:30
Rashmin Lumbhani (OpenERP) 59ca5c36b8 [IMP]add blocked reason field
bzr revid: rlu@tinyerp.com-20140411122327-mj7ihfh4ai8kzsgv
2014-04-11 17:53:27 +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
Denis Ledoux aa0f70f5ae [FIX] project: do not overwrite start date is specifically set by the user
bzr revid: dle@openerp.com-20140404133958-fyw309i5cem11jm1
2014-04-04 15:39:58 +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
Fabien Pinckaers 0b539587b8 [IMP] kanban view for ir.attachments
bzr revid: fp@tinyerp.com-20140401164322-fq3r0pt6idkoobxx
2014-04-01 18:43:22 +02:00
Christophe Simonis dfdbf8cdc4 [MERGE] forward port of branch saas-2 up to revid 9162 chs@openerp.com-20140401184913-5hi2h11lnmadbozr
bzr revid: chs@openerp.com-20140401190308-f3f2l9br69qb33ob
2014-04-01 21:03:08 +02:00
Christophe Simonis 822ef4a621 [MERGE] forward port of branch 7.0 up to revid 9943 launchpad_translations_on_behalf_of_openerp-20140401065325-w3viflz7c33n4uis
bzr revid: chs@openerp.com-20140401184913-5hi2h11lnmadbozr
2014-04-01 20:49:13 +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
Barad Mahendra 923db7a8cd [Merge]with trunk
bzr revid: mba@tinyerp.com-20140331091822-i0f05rcwm3qvxpsd
2014-03-31 14:48:22 +05:30
Martin Trigaux 830e2d00a9 [MERGE] [FIX] project: function field 'doc_count' is of type integer, not int, courtesy of Yanina Aular (Vauxoo)
bzr revid: mat@openerp.com-20140328114737-bk29fqfdyabx4r65
2014-03-28 12:47:37 +01:00
Yanina Aular 204ab9f609 [PEP8]
bzr revid: yanina.aular@vauxoo.com-20140326223329-o0dlgynicv0vq0t1
2014-03-26 18:03:29 -04:30