Thibault Delavallée
2bc87a67eb
[IMP] mail_group: as they are now mailing list, avoid having automatic
...
creation message, this is quite ugly.
bzr revid: tde@openerp.com-20140320150855-a0ich2zgzn320wj0
2014-03-20 16:08:55 +01: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
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
fc44f25d3a
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130612123429-a4mp0wiicdhlvk0m
2013-06-12 14:34:29 +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
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
Martin Trigaux
b9352e9eea
[MERGE] Latest trunk
...
bzr revid: mat@openerp.com-20130405141758-2a0nzmg8cbwe7145
2013-04-05 16:17:58 +02:00
Martin Trigaux
52ddce88f3
[ADD] option to globally stop showing employeep suggestions
...
bzr revid: mat@openerp.com-20130403152443-3jqg0v182mcqsk0f
2013-04-03 17:24:43 +02:00
Martin Trigaux
46110fbf29
[ADD] option to globally stop showing group suggestions
...
bzr revid: mat@openerp.com-20130403151056-4vjno2k9n77drm6y
2013-04-03 17:10:56 +02:00
Martin Trigaux
851e6c1f5a
[REF] cleaning js code
...
bzr revid: mat@openerp.com-20130403122408-fbbybeczf6xqwjvc
2013-04-03 14:24:08 +02:00
Martin Trigaux
5a112d8fa2
[ADD] suggested groups
...
bzr revid: mat@openerp.com-20130328161634-1fcmj0s67bofc6ra
2013-03-28 17:16:34 +01:00
Thibault Delavallée
142ef3856b
[CLEAN] mail_group: cleaned added code, no need to pass an explicit description parameter as we have a browse object on an actualized record.
...
bzr revid: tde@openerp.com-20121224134814-g3mxb979x0ioaqbc
2012-12-24 14:48:14 +01:00
Thibault Delavallée
82fbb9411a
[IMP] mail.group: updated client action description when writing on description, name, or the alias.
...
bzr revid: tde@openerp.com-20121224131922-v3rzft5mma8ppy1f
2012-12-24 14:19:22 +01:00
Thibault Delavallée
68872e1175
[IMP] mail.group decription: take into account void descriptions.
...
bzr revid: tde@openerp.com-20121224123215-ll9ejzuqrpik3ks5
2012-12-24 13:32:15 +01:00
Thibault Delavallée
1ba1a37850
[IMP] mail.group: add the group email gateway in the client action description.
...
bzr revid: tde@openerp.com-20121224115703-zl4y62qgmyk3x7z7
2012-12-24 12:57:03 +01:00
Thibault Delavallée
07099455fc
[MERGE] [FIX] mail_group: usability fix. The 'Wall view' of
...
mail groups now displays all messages (removed 'Unread' filter).
It also displays a composition box, not 'Send a message or Log a note'
as the purpose of a mail.group is to share with other members.
bzr revid: tde@openerp.com-20130327110520-nja6273v5ozdt49j
2013-03-27 12:05:20 +01:00
Thibault Delavallée
6b893e4a1a
[FIX] mail_group: fixed client action, no more Unread messages, send or log -> composition box with a correct message.
...
bzr revid: tde@openerp.com-20130327095822-m3m2jiwpsa6y5qvi
2013-03-27 10:58:22 +01:00
Cecile Tonglet
15fe515601
[MERGE] From trunk
...
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Thibault Delavallée
62d9ce4cce
[REM] mail_group: removed unused method.
...
bzr revid: tde@openerp.com-20121214115032-de2w9jnnigkjuojn
2012-12-14 12:50:32 +01:00
Vo Minh Thu
e7f4891d46
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Christophe Matthieu
52da4b041c
[IMP] mail_group: remove inherits of ir.ui.menu form mail_group to improve managment of access rights.
...
bzr revid: chm@openerp.com-20121206121409-z04iygrv34png4aj
2012-12-06 13:14:09 +01:00
Christophe Matthieu
010def466f
[IMP] mail: create test for access rules. fix the create group: add user in follower and remove admin
...
bzr revid: chm@openerp.com-20121206102714-tm0w6bn234a2j4fn
2012-12-06 11:27:14 +01:00
Thibault Delavallée
99c1145d81
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121115131824-60tl5f9hvxpca827
bzr revid: tde@openerp.com-20121115181930-ypj3zbdhg9bvcdf5
2012-11-15 19:19:30 +01:00
Fabien Pinckaers
d530905b93
[IMP] Add default filter on groups
...
bzr revid: fp@tinyerp.com-20121115102223-i2jgjkgqf9pxez08
2012-11-15 11:22:23 +01:00
Thibault Delavallée
b387836284
[IMP] mail.group: updating the descrpition, also update the description in the params of the client action related to the mail group.
...
bzr revid: tde@openerp.com-20121114163007-91z50xmkepnc436l
2012-11-14 17:30:07 +01:00
Thibault Delavallée
7fc4f67e4c
[FIX] mail.group: fixed a description key not always present in mail.group creation.
...
bzr revid: tde@openerp.com-20121114134356-5lbdx1tciw8tz2w0
2012-11-14 14:43:56 +01:00
Christophe Matthieu
a43662d125
[IMP] mail: change the header title and description for each mailbox and group discussion
...
bzr revid: chm@openerp.com-20121114122033-dl70fqty2kbd5gj1
2012-11-14 13:20:33 +01:00
Fabien Pinckaers
1086c96272
fix
...
bzr revid: fp@openerp.com-20121112232043-igpq4xynsz2tg6xr
2012-11-13 00:20:43 +01:00
Fabien Pinckaers
79827cefd5
[FIX] group orders
...
bzr revid: fp@openerp.com-20121112231952-x2713c3gs0b5ikhp
2012-11-13 00:19:52 +01:00
Thibault Delavallée
e915bd83cb
[IMP] mail_thread: remove message_subtype_data field, not used anymore; message_is_follower is not computed with message_follower_ids. Updated mail_followers widget, as message_is_follower is barely never used in views. Updated tests.
...
bzr revid: tde@openerp.com-20121016111753-shhyhred0m210o1z
2012-10-16 13:17:53 +02:00
Thibault Delavallée
ad54dfbbf6
[FIX] [CLEAN] mail_thrad: fixed subtypes (not comment by default, but Chatter explicitely set the new message as a comment); some code cleaning.
...
bzr revid: tde@openerp.com-20121015132313-zmip3v7sv4y90lzr
2012-10-15 15:23:13 +02:00
Fabien Pinckaers
486055417d
[FIX] tests fixes + compose + no parent_id on groups and partners
...
bzr revid: fp@tinyerp.com-20121001182722-0971qc2ccp3noe2c
2012-10-01 20:27:22 +02:00
Fabien Pinckaers
728d749259
[FIX] auto-subscribe on groups after write
...
bzr revid: fp@tinyerp.com-20121001164414-6yfzkhs4gwjvdh3a
2012-10-01 18:44:14 +02:00
Quentin (OpenERP)
c6f366b3bb
[IMP] mail, polishing last fp commit: replaced '1' in method calls by SUPERUSER_ID + added comment
...
bzr revid: qdp-launchpad@openerp.com-20120925094856-zxm1ppx5xk8iropn
2012-09-25 11:48:56 +02:00
Fabien Pinckaers
0272743218
[FIX] group creation by normal employees
...
bzr revid: fp@tinyerp.com-20120925083811-mroiaj30jnc2y9yr
2012-09-25 10:38:11 +02:00
Thibault Delavallée
02668c3682
[IMP] mail_group: when deleting a mail_group, delete also the related menu entry.
...
bzr revid: tde@openerp.com-20120913093246-kkxjqspupbq7j7z8
2012-09-13 11:32:46 +02:00
Thibault Delavallée
3982e5ba7a
[IMP] mail_group, point of sale, hr: updated image fields help, as small and medium sizes are now 64x64 ans 128x128, to match more closely OpenERP image sizes. product: image_medium are not up-sized when resizing them. This means that images smaller than 128x128 won't be resized in image_medium. The purpose is to avoid having unwanted blank frame around images in POS.
...
bzr revid: tde@openerp.com-20120907095155-i5hlmidnkq7r2r7b
2012-09-07 11:51:55 +02:00
Thibault Delavallée
b086b8a584
[CLEAN] mail_group, product, point_of_sale, hr: cleaned help of image, because it was too technical-related. Added a comment in code instead about PIL and base64. By the way, small cleaning of the white spaces.
...
bzr revid: tde@openerp.com-20120907092333-9f745210yr3p22ay
2012-09-07 11:23:33 +02:00
Thibault Delavallée
fd2a413969
[FIX] [CLEAN] mail_thread: misc cleanup (comments, vars, typo). Fixed subscriber API. It now handles a read_back key in context to return the new value of the field. The purpose is to use it in mail_followers widget, that behaves asynchronously compared to the form_view, and that need updated values after subscribing a user. Updated mail_followers widget, cleaned its code. Updated mail_group with wrappers on message_subscriber_users, because it was setting user_ids as context.
...
bzr revid: tde@openerp.com-20120904133648-plsziijac64lw4de
2012-09-04 15:36:48 +02:00
Thibault Delavallée
c52ab94960
[REVIEW] addons: small cleanups nex to a diff read. Some improvements will follow, this commit is about small cleanups.
...
bzr revid: tde@openerp.com-20120904092820-56zgwpkqfpd7as5k
2012-09-04 11:28:20 +02:00
Thibault Delavallée
9c26c8e000
[IMP] mail: cleaning of the Chatter front-end.
...
Wall and Wall-like group menu entries: now use the correct
contexts to give to the composer.
res_users: posting on the user consists in posting on the
related partner. TODO: clean that when we have cleared our
minds about what to do when posting in the wall.
xml, css: small cleanup of dead code
mail.js: propagated the use of 'default_' values in the
various contexts (Wall, RecordThread, Thread, ComposeMessage);
cleaned do_action overrides; general cleanup of the code
and options propagation.
bzr revid: tde@openerp.com-20120903152025-bzchl603mzuhggn4
2012-09-03 17:20:25 +02:00
Fabien Pinckaers
4fdb70d12a
fix
...
bzr revid: fp@tinyerp.com-20120822133723-k5r76cty7dej5kjh
2012-08-22 15:37:23 +02:00
Fabien Pinckaers
2f9f57cc46
[IMP] removing some FP Note
...
bzr revid: fp@tinyerp.com-20120822083608-2q98p1758erm8f7t
2012-08-22 10:36:08 +02:00
Fabien Pinckaers
11ab424912
[IMP]
...
bzr revid: fp@tinyerp.com-20120820191058-kpjymskvxdasoq6c
2012-08-20 21:10:58 +02:00
Thibault Delavallée
bb3c9d573f
[CLEAN] mail views: cleaned names, removed dead and not necessary code.
...
bzr revid: tde@openerp.com-20120820155124-iyve6xumamearb11
2012-08-20 17:51:24 +02:00
Fabien Pinckaers
cb944d66ea
[IMP] mail message
...
bzr revid: fp@tinyerp.com-20120817070218-rp1ssuhwnf8raitf
2012-08-17 09:02:18 +02:00
Fabien Pinckaers
73827c5525
[IMP] mail cleaning
...
bzr revid: fp@tinyerp.com-20120816101848-0l3wyu98zjmtkfks
2012-08-16 12:18:48 +02:00
Fabien Pinckaers
c7c1cb1037
[IMP] renaming message_state to message_unread
...
bzr revid: fp@tinyerp.com-20120816092616-jnoj0d18rw1ifqth
2012-08-16 11:26:16 +02:00
Fabien Pinckaers
a2b7f82a81
[IMP] no auto_follow, we will use auto-compose instead on some actions
...
bzr revid: fp@tinyerp.com-20120816090243-nzu6ounygswiceqi
2012-08-16 11:02:43 +02:00
Fabien Pinckaers
e5b76be9b8
[IMP] merge trunk
...
bzr revid: fp@tinyerp.com-20120816072402-7w1avco6ryt12x10
2012-08-16 09:24:02 +02:00