summaryrefslogtreecommitdiff
path: root/addons/note/models
AgeCommit message (Collapse)Author
2020-05-12[FIX] note: fix follower assignation permissionsAndrea Grazioso (agr-odoo)
- 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-04-30[IMP] note: create users in batchVictor Feyens
When note is installed, res.users are created one by one because its create override isn't adapted to work in batched. This commit ensures the create override is adapted to ensure users are still created in batch when note is installed. X-original-commit: 1cf7e1ac5dbf174e756a01f9b75abd09b168e52a
2020-01-21[IMP] note: denoise install logsXavier Morel
Log that note columns have been created for new users as debug rather than info
2019-07-17[REM] *: calls to @api.multiAdrian Torres
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'`
2018-05-31[IMP] mail, calendar: add today meetings in systrayBarad Mahendra
Purpose of this commit is to display today meetings in the systray. This will help people in their daily job to have quickly access to their meetings. It is displayed along with activities and reminders to have all current work to do in the same place. Displayed meetings are ongoing or not yet started ones of the current day. All-day meetings of the current day are also shown. Done meetings are not displayed to lessen noise. Clicking on the systray will open the calendar view of meetings in a day mode. This is done by a small modification in the calendar view allowing to choose the display mode from context in addition to the mode attribute of the action definition. This commit is linked to task ID 60593. Closes #24438. Thanks to @ged-odoo for quick reviewing.
2018-05-31[REF] mail, note: rename systray method giving data for web clientMahendra Barad
As it becomes used to display more things than just counting activities let us rename the method. Future commits will add new features in the systray like meetings. This commit is linked to task ID 60593.
2018-04-26[IMP] note: remove note counter in activities systrayThibault Delavallée
Having a different behavior from other apps present in the systray about activities is not understandable. Done after feedback from saas-11.3 internal testing phase. This commit is linked to task ID 1838917.
2018-04-26[FIX][IMP] note: create default note columns for existing usersThibault Delavallée
Otherwise users that already exist when installing note module do not have any default columns for note leading to an incoherent behavior, especially with reminders. Done after feedback from saas-11.3 internal testing phase. This commit is linked to task ID 1838917.
2018-04-09[REF] mail, note: move reminder feature from mail to noteDharmang Soni
This commit refactors f488dc58c37fdc7fd49df759165de641e213444b that added reminder feature in activities. After merging it was suggested specifications were not correct and it has been decided to move the whole reminder feature in note. Reminders are now notes instead of activities. Now when having note appµ systray proposes to create a note / reminder. A note.note record is created with info given by the user. If a date is given in the systray quick create then an activity is scheduled on this note. This means user can create records in activity systray that are not activities but notes used as reminders. Those will use the first availableµ note column for the user. As reminders are now notes the support of activities not linked to any document is removed, as well as archiving activities and tests linked to that behavior. This commit has been not carefully tested nor in-depth reviewied. It is considered as too important for the upcoming freeze. This closes task ID 1833628. Closes #24129 . Many thanks to @dpr-odoo for its quick development and good work on this task.
2018-04-09[IMP] note: update note default columnsDharmang Soni
Purpose is to have first column holding all todos and reminders. We then add a few columns for today / tomorrow / later to help people organize themselves.
2018-02-28[IMP] note: Use first stage as default stage_id if is stage_id emptyVandan Shah
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.
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2017-01-09[IMP] note: add an editable tree view for tagsHiral Bhavsar
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.
2016-12-21[IMP] note: add support of activitiesRavi Gadhia
note.note model now supports activities. Filters have been added to ease their management.
2016-11-22[MERGE] forward port branch 10.0 up to 6a18e31Christophe Simonis
2016-11-22[FIX] *: make field 'name' from some *.tag model tanslatableJeremy Kersten
2016-11-04[REF] mail, note, project, project_issue: remove 'new' button in ↵Thibault Delavallée
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-09-23[IMP] mail: reimplement grouping of notification recipientsThibault Delavallée
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-02[FIX] note: properly set the default methodMartin Trigaux
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-08-09[FIX] note: add missing import for `_`Olivier Dony
Import was dropped at b3b0b23fe2094812eb9d609b43c04a4a70c60cbf while migrating to new API.
2016-05-03[MIG] note : migration to new apiAnand Kansagra
2016-05-03[MOV] note : split file per main modelsJérome Maes
2016-05-03[MOV] note: Re-organised file structure.Anand Kansagra