Commit Graph

156 Commits

Author SHA1 Message Date
OCA-git-bot
a73fcfff6c
[ADD] icon.png 2021-12-13 12:29:04 +01:00
mreficent
0a9d8a0af8
[FIX] pylint/javascript-lint 2021-12-13 12:29:04 +01:00
Iván Todorovich
f2077962fe
[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.
2021-12-13 12:29:04 +01:00
Gabriela Mogollon
53ec83538d
[MIG] document_page_approval: Migration to 11.0 2021-12-13 12:29:04 +01:00
Iván Todorovich
9426f2823c
[IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2021-12-13 12:29:04 +01:00
Maxime Chambreuil
a22bc6d58b
[FIX] View 2021-12-13 12:29:04 +01:00
Leonardo Donelli
29ceb75c9c
[MIG] document_page_approval: Migration to 10.0 2021-12-13 12:29:04 +01:00
Gervais Naoussi
034e18567e
[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
2021-12-13 12:29:04 +01:00
Glen Sojo
edc165d6f6
[FIX] - document-page-approval: Fixes #60 url not valid when website module is installed. 2021-12-13 12:29:04 +01:00
Glen Sojo
04f0426d29
[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.
2021-12-13 12:29:04 +01:00
Loïc Faure-Lacroix
a02e41195f
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
2021-12-13 12:29:04 +01:00
Giorgio Borelli
9b4230bb99
start porting
fix act_draft and minor ui fix

remove unused variables

change order of xml data files
2021-12-13 12:29:04 +01:00
Sandy Carter
c464538040
Set document_page_approval as unported 2021-12-13 12:29:04 +01:00
Maxime Chambreuil
629a6756c2
[IMP] Documentation
[ADD] Translation file + french
[FIX] employee_id field does not exist
[FIX] user_email field deprecated
[IMP] Split long lines
[ADD] Images
2021-12-13 12:29:04 +01:00
Jonatan Cloutier
6f10ef115d
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)
2021-12-13 12:29:04 +01:00
oca-git-bot
ea7bbd09ab
[IMP] update dotfiles [ci skip] 2021-11-10 21:47:42 +01:00
OCA-git-bot
77e0701906 [ADD] setup.py 2021-11-06 09:54:41 +00:00
OCA-git-bot
a3a12257fb [UPD] README.rst 2021-11-06 09:54:41 +00:00
OCA-git-bot
c7d5064141 [UPD] addons table in README.md 2021-11-06 09:54:40 +00:00
oca-travis
0158306fa2 [UPD] Update document_url.pot 2021-11-06 09:36:59 +00:00
OCA-git-bot
72656e5a8f Merge PR #306 into 14.0
Signed-off-by pedrobaeza
2021-11-06 09:20:27 +00:00
oca-git-bot
d4f61fe100
[IMP] update dotfiles [ci skip] 2021-10-21 16:56:57 +02:00
Víctor Martínez
0669b94322 [IMP] document_url: Visual and functional improvements in UI.
Define the add attachment and add URL buttons on the same line.
Allow downloading of url type attachments by clicking on the icon or the name.
Define the name of the url type attachments as links (allows to open it in a new tab).
Hide the download button for url attachments.
Force to set mimetype to "application/link" for url attachments.
Displays a link icon for url attachments.
TT30263
2021-10-18 08:04:55 +02:00
OCA-git-bot
6857e45320 [ADD] setup.py 2021-10-16 04:13:09 +00:00
Víctor Martínez
ba14237e70 [MIG] document_url: Migration to 14.0
TT30263
2021-10-13 09:48:22 +02:00
davidborromeo
e0a223f19a [MIG] document_url: Migration to 14.0
[MIG] document_url: Migration to 14.0
2021-10-13 09:48:22 +02:00
davidborromeo
4cd9c566de [IMP] document_url: black, isort, prettier 2021-10-13 09:48:22 +02:00
sergio-teruel
46810643af [FIX] document_url: Fix module dependencies.
document_url 13.0.1.0.1
2021-10-13 09:48:21 +02:00
Manuel Calero
85c567a01a [MIG] document_url: Migration to 13.0
[UPD] Update document_url.pot

[UPD] README.rst

Update translation files

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

Translation: knowledge-13.0/knowledge-13.0-document_url
Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_url/
2021-10-13 09:48:20 +02:00
Manuel Calero
9e1c16c141 [IMP] document_url: black, isort 2021-10-13 09:48:20 +02:00
Bole
2c9b491aa1 Translated using Weblate (Croatian)
Currently translated at 100.0% (14 of 14 strings)

Translation: knowledge-12.0/knowledge-12.0-document_url
Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_url/hr/
2021-10-13 09:48:20 +02:00
ernesto
3f68cb106e [MIG] document_url: Migration to 12.0
[UPD] README.rst

[UPD] Update document_url.pot

Update translation files

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

Translation: knowledge-12.0/knowledge-12.0-document_url
Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_url/

[UPD] README.rst
2021-10-13 09:48:18 +02:00
mreficent
d0a4b66b65 [FIX] pylint/javascript-lint 2021-10-13 09:48:18 +02:00
ernesto
b9c31db41f [MIG] document_url: Refactoring code
Replace char © by word Copyright
Change format in usage description

[UPD] Update document_url.pot

[UPD] README.rst

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-10-13 09:48:17 +02:00
ernesto
348420fb50 [MIG] document_url: Migration to 11.0 2021-10-13 09:48:17 +02:00
Jairo Llopis
d95f43617a [FIX][document_url] Consistent styling.
Without this patch, when you hover on the menu item, its background color does not change, and its cursor is a text one.

With this patch, the menu item styling matches those available in all surrounding menus.
2021-10-13 09:48:17 +02:00
Pedro M. Baeza
9f6f42f104 [FIX] document_url: Fix documentation
OCA Transbot updated translations from Transifex
2021-10-13 09:48:14 +02:00
Jonathan Nemry (ACSONE)
e09db0a52b [MIG] from 8.0 to 9.0 document_url (#89)
[MIG] document_url

* bump version to 9.0.1.0.0 and make it installable
* Update JS structure
* Add css in order to be compliant with odoo style
* Add a README.rst and OCA conventions
* Improve selector
* add fr.po for fr translation
* open link with target='_blank'
2021-09-01 13:48:30 +02:00
Matjaz Mozetic
c78badaf97 Slovene translations added 2021-09-01 13:48:30 +02:00
Pedro M. Baeza
65f3681f7e [ADD] document_url: Module to attach URLs as documents 2021-09-01 13:48:30 +02:00
OCA-git-bot
3d8223ae67 [UPD] addons table in README.md 2021-08-14 03:23:08 +00:00
OCA-git-bot
19240fa76c [ADD] setup.py 2021-07-06 14:10:11 +00:00
OCA-git-bot
ae41cb0b4c [UPD] README.rst 2021-07-06 14:10:11 +00:00
OCA-git-bot
f1cb881364 [UPD] addons table in README.md 2021-07-06 14:10:10 +00:00
oca-travis
03f8907b1e [UPD] Update document_page.pot 2021-07-06 13:53:16 +00:00
OCA-git-bot
e98f4d260e Merge PR #283 into 14.0
Signed-off-by pedrobaeza
2021-07-06 13:35:52 +00:00
dzung.tran
d858dbb2ba [MIG] document_page: Migration to 14.0 2021-07-06 19:15:45 +07:00
dzung.tran
ee0db99c3f [IMP] document_page: black, isort, prettier 2021-07-06 19:15:45 +07:00
Sergey Pogorelov
65310db5a3 Translated using Weblate (Russian)
Currently translated at 100.0% (97 of 97 strings)

Translation: knowledge-13.0/knowledge-13.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page/ru/
2021-07-06 19:15:45 +07:00
OCA-git-bot
4c3df7b26c document_page 13.0.1.1.0 2021-07-06 19:15:45 +07:00