Commit Graph
14 Commits
Author SHA1 Message Date
Andrea Grazioso (agr-odoo) 4e5941624b [FIX] note: fix follower assignation permissions
- Have a standard V13 with note
- Connect as Admin A
- Create User U1 and U2 with password and email on partner
- As A, create a note N
- Add U1 as a follower
- Login as U1
- Open N and add U2 as a follower

We have a custom record rule that provide access to notes if
you are in the "message_partner_ids" of the Notes.
An override to the field in notes to compute as sudo fix the issue

opw-2223632

closes odoo/odoo#51082

X-original-commit: e1fbac466ff6c3abfd0de5760f43a3ff2e5cdb90
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-05-12 08:26:10 +00:00
Adrian Torres 4b38cc6590 [REM] *: calls to @api.multi
Multi is the default api for methods, it is not necessary to explicitly
decorate methods with it, adds clutter and most people use it because
they see that the rest of the code uses it.

Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
2019-07-17 14:13:12 +02:00
Vandan Shah 74a813542f [IMP] note: Use first stage as default stage_id if is stage_id empty
UI improvement:
If there is no stage then there will be no button(no status bar) but there will be stages but task or note etc.. will not be in any stage then there will be 'undefined' so by click on that ('undefined') user can move to any stages. To avoid this behavior we add a default stage in note.
2018-02-28 11:27:02 +01:00
Hiral Bhavsar 3a5341506b [IMP] note: add an editable tree view for tags
Also:
- Don't display "Active -> True" when we create a note
- Allow to create tags on the fly on a note form view

When user create a new Note or click on 'Tick' option in kanban view, remove the message 'Active->True' & 'True->False' and Make the creation of 'Tags' inline mode.

[IMP] note: 'Tags' should be created from note's form view.
2017-01-09 10:38:53 +01:00
Ravi Gadhia 39130d8858 [IMP] note: add support of activities
note.note model now supports activities. Filters have been added to ease
their management.
2016-12-21 11:00:17 +01:00
Christophe Simonis e348330b57 [MERGE] forward port branch 10.0 up to 6a18e31 2016-11-22 17:59:41 +01:00
Jeremy Kersten e94de1484f [FIX] *: make field 'name' from some *.tag model tanslatable 2016-11-22 16:44:25 +01:00
Thibault Delavallée df01742fc0 [REF] mail, note, project, project_issue: remove 'new' button in notification emails
As this button leads to a void form view without context it is not
really usefull. As creating new records is achieved using aliases
there is no real need for a New Task/Issue/Note button.

mail/new controller is kept for compatibility but should be removed
before v11.
2016-11-04 10:50:29 +01:00
Thibault Delavallée 458aaca328 [IMP] mail: reimplement grouping of notification recipients
There is now a single method easier to inherit to add specific behavior
for the display of access button as well as actions buttons. All addons
using this mechanism are updated accordingly.
2016-09-23 10:01:41 +02:00
Martin Trigaux 80aa17aac7 [FIX] note: properly set the default method
stage_id is comptued and based on stage_ids
The default value should be put on stage_ids, not stage_id, it has the same
effect but avoids an unecessary chain update.
2016-09-02 12:03:41 +02:00
Olivier Dony 5443d47cbf [FIX] note: add missing import for _
Import was dropped at b3b0b23fe2 while
migrating to new API.
2016-08-09 14:24:17 +02:00
Anand Kansagra b3b0b23fe2 [MIG] note : migration to new api 2016-05-03 16:59:19 +02:00
Jérome Maes 032f0be5ba [MOV] note : split file per main models 2016-05-03 16:59:19 +02:00
Anand Kansagra e7007ba3f3 [MOV] note: Re-organised file structure. 2016-05-03 16:59:19 +02:00