Commit Graph

437 Commits

Author SHA1 Message Date
mreficent
650170279d [FIX] pylint/javascript-lint
[ADD] icon.png
2025-02-28 09:42:12 +05:30
Iván Todorovich
6b2a0bf565 [FIX+IMP] document_page_approval:
* Rename classes and files to match model names, and removed workflow engine.
* Some fields should be readonly if not in draft.
* Allow Knowledge / Manager to edit previous history names and summary
* Improve ux by adding user_has_drafts to document pages.
* Changes because of implementation of active field on document_page
* Add ir.rules for document.page.history
* Allow to quickly cancel&draft from 'to approve' state
* FIX BUG: am_i_approver was being run as sudo(), hence always giving the user Approving rights.
* FIX hooks
  Because of default='draft' on the state field, state IS NULL wasn't selecting anything.
  Left the condition in case this is changed in the future.
2025-02-28 09:42:12 +05:30
Gabriela Mogollon
ffb2adb712 [MIG] document_page_approval: Migration to 11.0 2025-02-28 09:42:12 +05:30
Iván Todorovich
afc1bf0423 [IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2025-02-28 09:42:12 +05:30
Maxime Chambreuil
463bb6c611 [FIX] View 2025-02-28 09:42:12 +05:30
Leonardo Donelli
38b8c0f10c [MIG] document_page_approval: Migration to 10.0 2025-02-28 09:42:12 +05:30
Gervais Naoussi
f01154ab18 [MIG] document_page_approval: Migration to 9.0
* Lint error corrected
* test improved
* lint error corrected in test file
* readme corrected
* test improved
* test of document page history workflow added
* CI error corrected
* dreipst comment
* Migration to new api improved in model's file and data tag remove in xml file
* code totally migrate to odoo 9.0 api
* test bug fixed
* test error fixed
* Lint error improved
2025-02-28 09:42:12 +05:30
Glen Sojo
2f590b6656 [FIX] - document-page-approval: Fixes #60 url not valid when website module is installed. 2025-02-28 09:42:12 +05:30
Glen Sojo
f0cef0fa76 [IMP] - Changed string from email template.
[IMP] - Improved views to match document_page improvements.
[IMP] - Added notification to followers when a new version is approved.
[ADD] - Updated document_page_approval pot and added es translations.
[IMP] - document_page_approval: Updated spanish translation.
2025-02-28 09:42:12 +05:30
Loïc Faure-Lacroix
08ace9165f Comment workflow that cause the error
It should work but further errors could help understand what's going

Commented other necessary part

Add back workflow

Add dependency to knowledge
2025-02-28 09:42:12 +05:30
Giorgio Borelli
c3dd8a3948 start porting
fix act_draft and minor ui fix

remove unused variables

change order of xml data files
2025-02-28 09:42:12 +05:30
Sandy Carter
3237814f47 Set document_page_approval as unported 2025-02-28 09:42:12 +05:30
Maxime Chambreuil
1232fca120 [IMP] Documentation
[ADD] Translation file + french
[FIX] employee_id field does not exist
[FIX] user_email field deprecated
[IMP] Split long lines
[ADD] Images
2025-02-28 09:42:12 +05:30
Jonatan Cloutier
e6a5d97976 create document_page_approval module
(../7.0pageapproval/ rev 1)

fix status bar in page approval
(../7.0pageapproval/ rev 2)

change approval workflow in page history and started to add showing approved page in normal page
(../7.0pageapproval/ rev 3)

show last approved content and aproved by
(../7.0pageapproval/ rev 4)

Fix bug on page creation
(../7.0pageapproval/ rev 5)

add status in history tree view
(../7.0pageapproval/ rev 6)

add a need approval field and hide the workflow when no approval needed
(../7.0pageapproval/ rev 7)

add access validation to approval
(../7.0pageapproval/ rev 8)

give rigth to Page aprover group on the page_history model and hide the button for unallowed group thought the security isn't enforced a the orm level
(../7.0pageapproval/ rev 9)

made invisible the prover group when not needed
(../7.0pageapproval/ rev 10)

add email to aprovers group's members
(../7.0pageapproval/ rev 11)
2025-02-28 09:42:12 +05:30
Weblate
4d320040ad Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-attachment_zipped_download/
2025-02-18 11:51:25 +00:00
OCA-git-bot
0278f31e0b [BOT] post-merge updates 2025-02-18 08:52:46 +00:00
oca-ci
ed48a762f4 [UPD] Update attachment_zipped_download.pot 2025-02-18 08:50:55 +00:00
OCA-git-bot
b86f27f7af Merge PR #520 into 18.0
Signed-off-by pedrobaeza
2025-02-18 08:49:00 +00:00
Pedro M. Baeza
0295310417
Update checklog-odoo.cfg 2025-02-18 09:48:43 +01:00
oca-git-bot
6ad96aa312 [IMP] update dotfiles 2025-02-02 19:03:12 +00:00
Víctor Martínez
fda2e2eeb2 [FIX] document_page: Remove pre-commit warning log
warning  Imports should be sorted alphabetically  sort-imports
2025-01-28 08:34:22 +01:00
Víctor Martínez
25dba93d16 [MIG] attachment_zipped_download: Migration to 18.0
TT54112
2025-01-28 08:29:37 +01:00
Víctor Martínez
7e256cfaa8 [MIG] attachment_zipped_download: Migration to 17.0
TT52268

[UPD] Update attachment_zipped_download.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-17.0/knowledge-17.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-attachment_zipped_download/
2025-01-28 08:25:06 +01:00
Víctor Martínez
422c64a40e [IMP] attachment_zipped_download: pre-commit auto fixes 2025-01-28 08:25:06 +01:00
Stefan Rijnhart
49e38ce17d [FIX] linting after update dotfiles 2025-01-28 08:25:06 +01:00
Peter Romão
51d280c3b9 Added translation using Weblate (Portuguese)
Translated using Weblate (Portuguese)

Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/pt/
2025-01-28 08:25:06 +01:00
Ivan Sokolov
e213487e51 Updated from template
[BOT] post-merge updates

[BOT] post-merge updates
2025-01-28 08:25:06 +01:00
mymage
d368979ece Translated using Weblate (Italian)
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/it/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/
2025-01-28 08:25:06 +01:00
len
c2b4ab0f2d [FIX] attachment_zipped_download: fix stream download
Before the fix, 0 bytes would be transferred.
2025-01-28 08:25:06 +01:00
Ivorra78
1a4bdedbc2 Translated using Weblate (Spanish)
Currently translated at 100.0% (7 of 7 strings)

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/es/
2025-01-28 08:25:06 +01:00
Pierre Verkest
e267b0b836 [IMP] attachment_zipped_download: provide ir.attachment.action_download mixin
This helps to download multiple attachments from any models.

[UPD] README.rst

[UPD] Update attachment_zipped_download.pot

[UPD] README.rst

attachment_zipped_download 16.0.2.0.0

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/
2025-01-28 08:25:06 +01:00
Pierre Verkest
25ceed4377 [FIX] attachment_zipped_download: zip allowed document only
The previous code allowed any authenticated to retreive any attachment present
on odoo filesystem. So a WMS user could technically spoken download a zip with
accounting documents.

This implementation is calling attachemnt.check("read") to ensure access
right and use attachemnt.raw attribute to retreive file to archive which
(not test) should works with attachment saved somewhere else than the
local filesystem (s3 storage, pgsql large object storage...).

attachment_zipped_download 16.0.1.0.2
2025-01-28 08:25:06 +01:00
Bole
a99bc0dde1 Added translation using Weblate (Croatian)
Translated using Weblate (Croatian)

Currently translated at 100.0% (4 of 4 strings)

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/hr/
2025-01-28 08:25:06 +01:00
Francesco Foresti
b36c91caae Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/it/
2025-01-28 08:25:06 +01:00
Víctor Martínez
c565c58684 [FIX] attachment_zipped_download: Fix tests
attachment_zipped_download 16.0.1.0.1
2025-01-28 08:25:06 +01:00
mymage
f5fa389245 Added translation using Weblate (Italian)
Translated using Weblate (Italian)

Currently translated at 100.0% (4 of 4 strings)

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/it/
2025-01-28 08:25:06 +01:00
FernandoRomera
f957b2e1b0 [16.0][MIG] attachment_zipped_download: Migration to 16.0
[UPD] Update attachment_zipped_download.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/
2025-01-28 08:25:06 +01:00
Víctor Martínez
8885cfecf1 [ADD] attachment_zipped_download: New addon.
TT33403

[UPD] Update attachment_zipped_download.pot

[UPD] README.rst
2025-01-28 08:25:04 +01:00
Nicolas Mac Rouillon
0d4b24abea [FIX] document_knowledge: Use different path to avoid collision with odoo documents 2025-01-07 13:40:14 -03:00
mymage
2f19668530 Translated using Weblate (Italian)
Currently translated at 100.0% (99 of 99 strings)

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/it/
2024-12-02 10:06:29 +00:00
Weblate
08feb09873 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page/
2024-11-30 23:53:16 +00:00
OCA-git-bot
1b8a99c63b [BOT] post-merge updates 2024-11-30 20:34:58 +00:00
oca-ci
149c1aba82 [UPD] Update document_page.pot 2024-11-30 20:33:09 +00:00
OCA-git-bot
e2cee29f02 Merge PR #504 into 18.0
Signed-off-by max3903
2024-11-30 20:31:17 +00:00
natuan9
146ec0b8d4 [MIG] document_page: migration Browse Wiki Content to 18.0 2024-11-14 16:27:35 +01:00
natuan9
3482986272 [MIG] document_page: migration Browse Wiki Content to 17.0 2024-11-14 16:27:35 +01:00
Kaynnan Lemes
d0df693b95 [IMP] document_page: add Browse Wiki Content view Kanban 2024-11-14 16:27:35 +01:00
angel
dcb85fe9e3 [14.0][IMP] document_page: option to search by summary. 2024-11-14 16:27:35 +01:00
mymage
22ea21b20f Translated using Weblate (Italian)
Currently translated at 100.0% (15 of 15 strings)

Translation: knowledge-18.0/knowledge-18.0-document_knowledge
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_knowledge/it/
2024-11-14 11:06:29 +00:00
Weblate
d2bb1698c1 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-18.0/knowledge-18.0-document_knowledge
Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_knowledge/
2024-11-14 03:17:07 +00:00