Commit Graph

431 Commits

Author SHA1 Message Date
mreficent
58e028b6c2 [MIG] document_page_project: Migration to 12.0 2025-01-07 13:35:56 +01:00
mreficent
16b12b6b6c [FIX] pylint/javascript-lint 2025-01-07 13:35:56 +01:00
Lois Rilo
cf22b40def [11.0][ADD] document_page_project 2025-01-07 13:35:56 +01:00
OCA-git-bot
4c08cb889e [BOT] post-merge updates 2024-11-14 18:28:09 +00:00
OCA-git-bot
75177d37a9 Merge PR #506 into 17.0
Signed-off-by pedrobaeza
2024-11-14 18:24:21 +00:00
Martin Quinteros
0b11b08d40 [FIX] document_url: Fix Download attachment component
Fix download atachment widget.

Document_url when activated causes error when opening attachment link on the chatter window
This commit (366676cafd) move download buttons into a sub-component.
I modified the module behavior to use canDownload() method instead of adding a t-if in the view and prevent the chatter component from breaking when the message has attachments.
2024-11-14 15:19:36 -03:00
Weblate
ea8e5faed2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-17.0/knowledge-17.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_page_approval/
2024-11-13 07:50:49 +00:00
OCA-git-bot
acd3a0eb8d [BOT] post-merge updates 2024-11-13 06:38:59 +00:00
oca-ci
f1b4270992 [UPD] Update document_page_approval.pot 2024-11-13 06:36:59 +00:00
OCA-git-bot
743d95dea3 Merge PR #509 into 17.0
Signed-off-by pedrobaeza
2024-11-13 06:35:18 +00:00
Víctor Martínez
6438cd21f0 [MIG] document_page_approval: Finish migration
Changes done:
- Squash administrative commits
- Purge translations
- Remove ir.model.access.csv file
- Improve tests (change to setUpClass)
- Replace name_get() to _compute_display_name() (document_page)
- Remove readonly=1 (redudant, it already is) defined in approved_uid and approved_date fields in views
- Restore readonly=1 to the state field
- Remove duplicate Back to draft button

TT51529
2024-11-12 17:38:23 +01:00
EdgarRetes
74660f10b7 [MIG] document_page_approval: Migration to 17.0 2024-11-12 10:31:56 +01:00
Víctor Martínez
b919f6bf72 [IMP] document_page_approval: pre-commit auto fixes 2024-11-12 10:31:56 +01:00
jakobkrabbe
9684a7a639 Translated using Weblate (Swedish)
Currently translated at 100.0% (62 of 62 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/sv/
2024-11-12 10:31:56 +01:00
Sergio Ariel Ameghino
41da8c7a12 Translated using Weblate (Spanish)
Currently translated at 100.0% (62 of 62 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/es/
2024-11-12 10:31:56 +01:00
Víctor Martínez
91564a5ff1 [FIX] document_page_approval: Add correct followers in history pages
[BOT] post-merge updates
2024-11-12 10:31:55 +01:00
mymage
89bf406d3d Translated using Weblate (Italian)
Currently translated at 100.0% (62 of 62 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:55 +01:00
Peter Romão
d426437c6b Translated using Weblate (Portuguese)
Currently translated at 100.0% (60 of 60 strings)

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

[UPD] Update document_page_approval.pot

Update translation files

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

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2024-11-12 10:31:54 +01:00
Ivorra78
be906f7687 Translated using Weblate (Spanish)
Currently translated at 100.0% (61 of 61 strings)

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

[UPD] Update document_page_approval.pot

Update translation files

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

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2024-11-12 10:31:53 +01:00
mymage
48c055e507 Translated using Weblate (Italian)
Currently translated at 100.0% (61 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:53 +01:00
Ivorra78
41b2029f28 Translated using Weblate (Spanish)
Currently translated at 100.0% (61 of 61 strings)

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

[UPD] Update document_page_approval.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-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2024-11-12 10:31:51 +01:00
mymage
c4fe172fcd Translated using Weblate (Italian)
Currently translated at 100.0% (61 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:51 +01:00
Francesco Foresti
70e9353fc1 Translated using Weblate (Italian)
Currently translated at 96.7% (59 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:51 +01:00
luis-ron
4ea8772d82 Translated using Weblate (Spanish)
Currently translated at 95.0% (58 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/es/
2024-11-12 10:31:51 +01:00
mymage
06e5f42f2e Translated using Weblate (Italian)
Currently translated at 96.7% (59 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:51 +01:00
Francesco Foresti
77c573c34a Translated using Weblate (Italian)
Currently translated at 96.7% (59 of 61 strings)

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

Translated using Weblate (Italian)

Currently translated at 96.7% (59 of 61 strings)

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

[UPD] Update document_page_approval.pot

Update translation files

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

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2024-11-12 10:31:50 +01:00
Víctor Martínez
012c7354ba [FIX] document_page_approval: Change mail template expressions
[UPD] Update document_page_approval.pot

document_page_approval 16.0.1.1.0

Update translation files

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

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2024-11-12 10:31:49 +01:00
mymage
a91aeb61e2 Translated using Weblate (Italian)
Currently translated at 100.0% (61 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:49 +01:00
Francesco Foresti
37b8da54f0 Translated using Weblate (Italian)
Currently translated at 100.0% (61 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:49 +01:00
Bole
1138d052df Translated using Weblate (Croatian)
Currently translated at 83.6% (51 of 61 strings)

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

Translated using Weblate (Croatian)

Currently translated at 96.7% (59 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/hr/
2024-11-12 10:31:48 +01:00
mymage
a8534ab388 Translated using Weblate (Italian)
Currently translated at 100.0% (61 of 61 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (61 of 61 strings)

Translation: knowledge-16.0/knowledge-16.0-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/it/
2024-11-12 10:31:46 +01:00
FernandoRomera
855ada5558 [16.0][MIG] document_page_approval: Migration to 16.0
[UPD] Update document_page_approval.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-document_page_approval
Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_approval/
2024-11-12 10:31:45 +01:00
Víctor Martínez
9a203c464b [MIG] document_page_approval: Migration to 15.0
TT36950

[UPD] Update document_page_approval.pot

[UPD] README.rst
2024-11-12 10:31:43 +01:00
Pedro M. Baeza
21c3babdf1 [FIX] document_page_approval: Avoid W7940 (dangerous-view-replace-wo-priority) 2024-11-12 10:19:23 +01:00
Jeroen Vet
0db8877942 [MIG] document_page_approval: Migration to 14.0
[UPD] Update document_page_approval.pot

[UPD] README.rst
2024-11-12 10:19:23 +01:00
Jeroen Vet
af56fba7d0 [IMP] document_page_approval: black, isort, prettier + squashed admin commits 2024-11-12 10:19:23 +01:00
flachica
4257dd7990 Migrate to 13.0 document_page_approval
To pass test is necesary set approval required to False in demo data
2024-11-12 10:19:23 +01:00
flachica
b2653fcfd6 [IMP] document_page_approval: black, isort 2024-11-12 10:19:23 +01:00
Victor M.M. Torres
b8856712f1 [MIG] document_page_approval: Migration to v12
[UPD] Update document_page_approval.pot
2024-11-12 10:19:23 +01:00
nicomacr
3c038cf9a2 [FIX] document_page_aproval: Modify in records rules
Add the the group eployee to the rule "Change Request Global" to allow to the user with the rule "Change Request Approver" to create pages
2024-11-12 10:19:23 +01:00
mreficent
a0910c6bae [FIX] pylint/javascript-lint
[ADD] icon.png
2024-11-12 10:19:23 +01:00
Iván Todorovich
0915ea699b [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.
2024-11-12 10:19:23 +01:00
Gabriela Mogollon
99bace0ea7 [MIG] document_page_approval: Migration to 11.0 2024-11-12 10:19:23 +01:00
Iván Todorovich
c3bb2e0c2e [IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2024-11-12 10:19:23 +01:00
Maxime Chambreuil
a7a1424e31 [FIX] View 2024-11-12 10:19:23 +01:00
Leonardo Donelli
c5fea1f516 [MIG] document_page_approval: Migration to 10.0 2024-11-12 10:19:23 +01:00
Gervais Naoussi
7c74b68bda [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
2024-11-12 10:19:23 +01:00
Glen Sojo
1497f2d465 [FIX] - document-page-approval: Fixes #60 url not valid when website module is installed. 2024-11-12 10:19:23 +01:00
Glen Sojo
9a499b93f6 [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.
2024-11-12 10:19:23 +01:00
Loïc Faure-Lacroix
e11088199d 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
2024-11-12 10:19:23 +01:00