Commit Graph

592 Commits

Author SHA1 Message Date
Mahendra Barad (OpenERP) da5f8b26df [Merge]with trunk
bzr revid: mba@tinyerp.com-20140228131855-obhatiecnzv1bgqu
2014-02-28 18:48:55 +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) 0707b77f63 [Merge]Trunk
bzr revid: mba@tinyerp.com-20140214071943-t2wnxm8vmtxcejsc
2014-02-14 12:49:43 +05:30
Gery Debongnie e9bc12aab1 [IMP] changes the sparkline graph in the sales team/kanban view (opportunities) so that it uses date_deadline instead of create_date (addon crm)
bzr revid: ged@openerp.com-20140211110936-531vgazu3lhvlwj2
2014-02-11 12:09:36 +01:00
Gery Debongnie 7be15dabaa [FIX] corrects an interesting bug, caused by datetime in UTC and GMT, then string formatting, causing incorrect information to display in the sales team screen (addon crm.py)
bzr revid: ged@openerp.com-20140210153453-y0mtvs0mnpm1e4e1
2014-02-10 16:34:53 +01:00
Anael Closson 10dabcfd51 [FIX] datetime.strptime only accepts date format when used with tools.DEFAULT_SERVER_DATE_FORMAT as parameter, but both date and datetime fields can be used as parameters.
bzr revid: acl@openerp.com-20140205163313-xcob4funucvsfdmx
2014-02-05 17:33:13 +01:00
Mahendra Barad (OpenERP) 102086302f [IMP]improved value of demo data and selection field
bzr revid: mba@tinyerp.com-20140108104029-rrdw8t2skrxs7yzj
2014-01-08 16:10:29 +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 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
Thibault Delavallée d1c5c84a85 [MERGE] Sync with saas-2
bzr revid: tde@openerp.com-20131104105827-gbpsn66twnon20rw
2013-11-04 11:58:27 +01:00
Olivier Dony 0354391b10 [IMP] crm: defaults can be literals
bzr revid: odo@openerp.com-20131023163029-z3q0ve4jykanibkv
2013-10-23 18:30:29 +02:00
Thibault Delavallée 8ce54029cf [REV] crm: reverted most changes about stages for this branch.
We keep fold, because it has a meaning in kanban view, and is kind of
'drop' stage, for won / lost / cancel / dead.

New stage is now the stage with the lower sequence, not necessarily the
stage with sequence 1. Note that this could break the _track because it
checks for stages with sequence <= 1; however with OpenERP values it
works fine. In some specific stage configuration, some subtypes could
not be tracked precisely.

bzr revid: tde@openerp.com-20131023100429-a3vfxi5zkn18v6qq
2013-10-23 12:04:29 +02:00
Thibault Delavallée 878ceca988 [REV] stages: removed bar_fold and bar_color fields.
After some experiments, having colors does not seem to give an
usable result on statusbar widget. Indeed we need to have the
current stage highlited, and maybe something to tell that some
stages have a special meaning and/or are the end of the pipe.
The closed field already gives that meaning.

Moreover the issue with the statusbar widget is that it indicates
state and action. Having both dimensions with colors / icons
is quite difficult to understand. We therefore stand on a simpler
version of the widget, only with stages and the current stage
highlighted.

bzr revid: tde@openerp.com-20131021104912-8ybhw0svdoghheh3
2013-10-21 12:49:12 +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
Antony Lesuisse 9757c08872 use referencable models instead of _get_links
bzr revid: al@openerp.com-20131006115808-etkyq34ar1pqh2pb
2013-10-06 13:58:08 +02:00
Thibault Delavallée f72927123e [FIX] crm, sale_crm, mass_mailin: fixed computation for sparkline widgets.
Added an end date in the read_group domain. Indeed having results outside the date range
made the result computation crash because of list limits. There is now a begin and end
date for groupby domain.

bzr revid: tde@openerp.com-20131003082736-tw50xk2vmhpjh1e5
2013-10-03 10:27:36 +02:00
Christophe Simonis 3fa90321e1 [MERGE] forward port of branch saas-1 up to revid 8772 chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: chs@openerp.com-20130910124803-wxkb8gkz1tub5qjf
2013-09-10 14:48:03 +02:00
Denis Ledoux 546a191f0a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9459 rev-id: fva@openerp.com-20130918153347-fy4nuvbm82ngfb8x
bzr revid: mat@openerp.com-20130826135110-f9q4p65ds2aholcw
bzr revid: dle@openerp.com-20130828141129-ecxl2vlpb8vw0o9f
bzr revid: dle@openerp.com-20130828162659-n8a0ku9o3h01qaov
bzr revid: dle@openerp.com-20130830094205-q3itwd7x0246d9n6
bzr revid: dle@openerp.com-20130830133604-mfnfbscn5wdk4vi4
bzr revid: dle@openerp.com-20130902131244-v9uh0s8rg4889i7j
bzr revid: mat@openerp.com-20130903134105-68ziuaccreu6rs61
bzr revid: chs@openerp.com-20130906171851-jtfsf4au1k30wwlr
bzr revid: dle@openerp.com-20130909103120-k5oefxgebhyslac3
bzr revid: dle@openerp.com-20130909170047-pbzw4ernvcpivbhh
bzr revid: chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: tde@openerp.com-20130912121059-k840pi4rwdzpez8g
bzr revid: dle@openerp.com-20130913085251-p906ci2divy82jur
bzr revid: tde@openerp.com-20130913092546-kzshg1a7sls566l8
bzr revid: mat@openerp.com-20130917122102-drf8fj9lrjj0fvju
bzr revid: mat@openerp.com-20130917161614-w8u2c1ayeb5kxm30
bzr revid: dle@openerp.com-20130918161305-7ep1642nxzyy3vhd
2013-09-18 18:13:05 +02:00
Olivier Dony baef4d3d92 [FIX] Force safer ondelete=restrict on the `alias_id` _inherits FK on models with a mail.alias parent
The delete-rule was initially set to `cascade` in revision
6897.16.13 revid:odo@openerp.com-20120705141706-5gm5mmqode3bvkuc
because the ORM would not allow anything else for the FK of
an _inherits relationship.
This constraint was later lifted in 7.0 server at revision
4681 revid:odo@openerp.com-20121212210247-emrz5rf9ewcwdggu
so we can now switch to the intended default behavior:
when deleting mail aliases we never want to cascade delete
the child records, as that could lead to unwanted deletions.
On the other hand the aliases are automatically deleted when
the record they belong to is deleted, as a kind of internal
dependency. This is the intended safe way to delete them.

There is a special case when the same alias is manually set
on multiple records, in which case you will not be able to
delete any of those records. This is an acceptable exception
and should be manually handled if ever needed, by temporarily
linking the records to delete to new dummy aliases.

bzr revid: odo@openerp.com-20130827150708-62hqk8p7twd527n0
2013-08-27 17:07:08 +02:00
Thibault Delavallée 0e9fd3d5d5 [IMP] crm: removed state field. Refactored code according to the new guidelines.
bzr revid: tde@openerp.com-20130716151003-c2df3nzgo1by0hyi
2013-07-16 17:10:03 +02:00
Thibault Delavallée fc44f25d3a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130612123429-a4mp0wiicdhlvk0m
2013-06-12 14:34:29 +02:00
Thibault Delavallée 09e0cd8dc6 [CLEAN] crm, sale_crm: cleaned code for new fields. Fixed some bugs in calculation and monthly repartition. Updated form views. Improved use of sparkline widget, now having tootips.
bzr revid: tde@openerp.com-20130531153100-q1cmpx0kjb02cbtu
2013-05-31 17:31:00 +02:00
Christophe Matthieu 4e7b20dfb6 [IMP] salesteams: duration only by month
bzr revid: chm@openerp.com-20130527093036-bn4kjnre9vhxf76k
2013-05-27 11:30:36 +02:00
Christophe Matthieu 15c9537eb1 [IMP] salesteams: use read_group to simplify
bzr revid: chm@openerp.com-20130524135255-myzntlue5e87j6vk
2013-05-24 15:52:55 +02:00
Christophe Matthieu 7e901f89ba [IMP] salesteams: view
bzr revid: chm@openerp.com-20130521111717-m38hgfi2sevhzy5h
2013-05-21 13:17:17 +02:00
Thibault Delavallée 88e3505554 [IMP] mail_alias: added reference to the parent record.
The parent record is the record that holds the alias. It is different
from the record updated or created using the alias. For example
projects have aliases whose parent is the given projet, and that creates
new task inside the project.
Updated alias creation and management accordingly.
This ownership concept is used to compute the 'followers' contact
settings of aliases.

bzr revid: tde@openerp.com-20130516164207-1zr0q6abw6a34ndf
2013-05-16 18:42:07 +02:00
Thibault Delavallée 44d189fd9f [FIX] crm, hr_recruitement: fixed default alias for hr_job and crm_case_section not creating respectively new applicants and leads.
bzr revid: tde@openerp.com-20130516112402-8tn66je4n2ipiqvj
2013-05-16 13:24:02 +02:00
Christophe Matthieu e4d24fe58a [IMP] crm.case.section: change use_leads tootip
bzr revid: chm@openerp.com-20130506135243-qbdgveg2y6pzfd3z
2013-05-06 15:52:43 +02:00
Christophe Matthieu 64eceedcb9 [IMP] crm_case_section: quarter in selection field
bzr revid: chm@openerp.com-20130506080016-1336mjc2212wyauj
2013-05-06 10:00:16 +02:00
Christophe Matthieu 3cf1b01d1c [IMP] salesteams: comment and tooltip
bzr revid: chm@openerp.com-20130425130111-pq94g5v9o5rwyzts
2013-04-25 15:01:11 +02:00
Christophe Matthieu 57fdf11635 [IMP] salesteams: add demo data
bzr revid: chm@openerp.com-20130419103600-71j6munkzygnffe4
2013-04-19 12:36:00 +02:00
Christophe Matthieu 2471265eae [IMP] salesteams: crm_case_section kanban sparkline with html tooltip
bzr revid: chm@openerp.com-20130418091759-7q02xo1p4pqauowa
2013-04-18 11:17:59 +02:00
Christophe Matthieu 797cecf8df [IMP] crm: salesteams sparkline for lead and opportunity
bzr revid: chm@openerp.com-20130417131759-ysnbosoikd16kwlo
2013-04-17 15:17:59 +02:00
Christophe Matthieu f515c23a13 [IMP] crm: salesteams
bzr revid: chm@openerp.com-20130417104302-g4zjti19suenxnky
2013-04-17 12:43:02 +02:00
Thibault Delavallée a3de5c872f [REF] [IMP] mail_alias improvement
alias_name is not required anymore
crm, hr_job, project, mail_group, res_users: alias creation is now different
and done more like other inherits, except an alias_model_name that is given
to the context to find the alias alias_model_id.
crm, jr_job, project, mail_group, res_users: updated form views using
aliases
mail_alias: added a filter on 'inactive' aliases (alias_name False) and
added a button to redirect to the related document if any

bzr revid: tde@openerp.com-20130409111158-bv04n5o01z9l3c17
2013-04-09 13:11:58 +02:00
Thibault Delavallée 034d244be6 [REF] crm, hr, project: refactored kanban/form html/css to be cleaner and remove custom CSS. kanban specific css for aliases has been moved into web_kanban.
bzr revid: tde@openerp.com-20130405110737-xhdgxodrffqtfrzp
2013-04-05 13:07:37 +02:00
Thibault Delavallée ba9412cb5d [CLEAN] addons: various linkt cleanup (indentation, spaces, ...).
bzr revid: tde@openerp.com-20130403081009-jy35sm7dl4pq7eyu
2013-04-03 10:10:09 +02:00
Thibault Delavallée 6e2b1e7ed1 [CLEAN] crm: lint cleaning.
bzr revid: tde@openerp.com-20130328130956-e4zcfbwy9uqfef2i
2013-03-28 14:09:56 +01:00
Thibault Delavallée acd180c43b [CLEAN] crm: moved group_multi_salesteam configuration from crm.py to res_config.py where it belongs. Also renamed from Use mutli sales team to Manage Sales Teams.
bzr revid: tde@openerp.com-20130328095502-87j32cqinunwgazh
2013-03-28 10:55:02 +01:00
Christophe Matthieu 319e7d129c [IMP] salesteams: move config to sales settings
bzr revid: chm@openerp.com-20130327154408-pa1f6ygbyo7zr0an
2013-03-27 16:44:08 +01:00
Christophe Matthieu 454d3a0d4b [IMP] crm.case.section,salesteams: add groups multi_salesteams
bzr revid: chm@openerp.com-20130325165125-a5t5fdbnz9rqw1jp
2013-03-25 17:51:25 +01:00
Christophe Matthieu a98861a716 [IMP] crm: add settings options multi sales teams
bzr revid: chm@openerp.com-20130325163204-np98t3rywso3le35
2013-03-25 17:32:04 +01:00
Christophe Matthieu a4d3976caf [IMP] sales teams: in progress
bzr revid: chm@openerp.com-20130325102555-5q3j1y5dapohgax5
2013-03-25 11:25:55 +01:00
Christophe Matthieu a45ad6ec82 [IMP] crm: clean code
bzr revid: chm@openerp.com-20130322123803-43mz918j3ez9muvg
2013-03-22 13:38:03 +01:00
Christophe Matthieu ae16e29f87 [IMP] project,crm: display default alias_domain for creation
bzr revid: chm@openerp.com-20130305090452-lkt7y1clbaj1qe5r
2013-03-05 10:04:52 +01:00
Christophe Matthieu 0c4a656639 [IMP] salesteams: add account, crm: on_change user_id, change the salesteams
bzr revid: chm@openerp.com-20130206115736-fw3coo0u50itvjlq
2013-02-06 12:57:36 +01:00
Christophe Matthieu b76f4c7a45 [IMP] salesteams: add sales order and quotation
bzr revid: chm@openerp.com-20130206094414-8f7kp19dam6su991
2013-02-06 10:44:14 +01:00
Christophe Matthieu 21938b80ff [IMP] crm: Sales Teams menu with breadcrum
bzr revid: chm@openerp.com-20130125110434-whqnmhrvdqj0r9gh
2013-01-25 12:04:34 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Fabien Pinckaers b4d72207b2 [IMP] cleaning sales team stuff
bzr revid: fp@tinyerp.com-20121216155843-kl2mgr3ecyi85mw1
2012-12-16 16:58:43 +01:00