Commit Graph

95 Commits

Author SHA1 Message Date
Iván Todorovich
1ba8142280 [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.
2020-03-18 12:56:49 +01:00
Gabriela Mogollon
642e37bdca [MIG] document_page_approval: Migration to 11.0 2020-03-18 12:56:49 +01:00
OCA Transbot
4ce6f38c34 OCA Transbot updated translations from Transifex 2020-03-18 12:56:49 +01:00
Iván Todorovich
3990bdbe32 [IMP][10.0][document_page_approval] Change Requests and workflow improvements on documents (#155) 2020-03-18 12:56:49 +01:00
Maxime Chambreuil
1f9107a8b0 [FIX] View 2020-03-18 12:56:49 +01:00
Leonardo Donelli
7307102c32 [MIG] document_page_approval: Migration to 10.0 2020-03-18 12:56:49 +01:00
Gervais Naoussi
395f6363f2 [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
2020-03-18 12:56:49 +01:00
Glen Sojo
35519b5e15 [FIX] - document-page-approval: Fixes #60 url not valid when website module is installed. 2020-03-18 12:56:49 +01:00
Matjaž Mozetič
dfacb2efd9 Translations sync with templates
Translations and templates sync

Updated languages
2020-03-18 12:56:49 +01:00
Glen Sojo
a6856ae045 [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.
2020-03-18 12:56:49 +01:00
Matjaz Mozetic
3f6044acde Slovene translation added 2020-03-18 12:56:49 +01:00
Loïc Faure-Lacroix
ab5659c95a 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
2020-03-18 12:56:49 +01:00
Giorgio Borelli
dba98e2b35 start porting
fix act_draft and minor ui fix

remove unused variables

change order of xml data files
2020-03-18 12:56:49 +01:00
Sandy Carter
667f5eb0fa Set document_page_approval as unported 2020-03-18 12:56:49 +01:00
Maxime Chambreuil
6ccb2cb5e5 [IMP] Documentation
[ADD] Translation file + french
[FIX] employee_id field does not exist
[FIX] user_email field deprecated
[IMP] Split long lines
[ADD] Images
2020-03-18 12:56:49 +01:00
Jonatan Cloutier
3c309a638d 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)
2020-03-18 12:56:49 +01:00
OCA-git-bot
f3cc82a65a
pre-commit update 2020-03-14 12:02:31 +01:00
OCA Transbot
c3f016c19f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2020-01-31 17:47:55 +00:00
OCA Transbot
354cde0149 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-13.0/knowledge-13.0-knowledge
Translate-URL: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-knowledge/
2020-01-31 17:47:54 +00:00
OCA Bot
15e45a6cf2 [UPD] .travis.yml: Use verbose colored pre-commit [skip ci] 2020-01-31 18:47:46 +01:00
OCA-git-bot
7dd67166cd
[ADD] .editorconfig [ci skip] 2019-11-19 20:25:06 +01:00
OCA-git-bot
25a2d4b851 [ADD] setup.py 2019-11-14 23:04:06 +00:00
oca-travis
b911fb5a67 [UPD] Update document_page.pot 2019-11-14 22:22:42 +00:00
OCA-git-bot
132d996af4 Merge PR #228 into 13.0
Signed-off-by pedrobaeza
2019-11-14 22:02:06 +00:00
ernesto
1d672ea1a4 [MIG] document_page: Migration to 13.0 2019-11-14 12:38:46 -05:00
ernesto
3c990a4040 [IMP] document_page: black, isort 2019-11-11 10:07:33 -05:00
Valaeys Stéphane
e4cfd0b350 Translated using Weblate (French)
Currently translated at 100.0% (92 of 92 strings)

Translation: knowledge-12.0/knowledge-12.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_page/fr/
2019-11-11 10:07:33 -05:00
oca-travis
0983cbc937 [UPD] Update document_page.pot
[UPD] README.rst

document_page 12.0.1.1.0

Update translation files

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

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

[UPD] README.rst
2019-11-11 10:07:33 -05:00
Simone Orsi
81a7a961cc document_page: fix link 2019-11-11 10:07:33 -05:00
OCA Transbot
7b8cd3766b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-12.0/knowledge-12.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_page/
2019-11-11 10:07:33 -05:00
oca-travis
22fa9c08fa [UPD] Update document_page.pot 2019-11-11 10:07:32 -05:00
OCA-git-bot
9000b8c0e6 [UPD] README.rst 2019-11-11 10:07:32 -05:00
mreficent
a9b849685a [MIG] document_page: Migration to 12.0 2019-11-11 10:07:32 -05:00
oca-travis
16bc68c56e [UPD] Update document_page.pot 2019-11-11 10:07:32 -05:00
Jordi Ballester Alomar
32601cc7a6 add activities to wiki pages 2019-11-11 10:07:32 -05:00
Lois Rilo
33b9bd6c4e [11.0][IMP] document_page:
* move menus to a higher level.
 * fix categories search view.
 * fix create menu action not being accessible in any way.
 * reorder form view, focusing in the content, not in secondary fields.
2019-11-11 10:07:32 -05:00
oca-travis
1cef575820 [UPD] Update document_page.pot 2019-11-11 10:07:32 -05:00
nicomacr
eef5caee26 [IMP] check recusion when select parent 2019-11-11 10:07:32 -05:00
Gabriela Mogollon
0cf84dfdc6 [FIX] document_page: fix report
- fix references: report module is now web module

- display_* fields are removed in this version
2019-11-11 10:07:32 -05:00
oca-travis
c0c2a05a66 [UPD] Update document_page.pot 2019-11-11 10:07:31 -05:00
Iván Todorovich
b21410282b [document_page] FIX creating history when there are no changes made. Add history name field, to name revisions. Modified views to allow setting this field.
[document_page] FIX BUG: UI hanging when editing content. This was due to the api.depends on _compute_diff. Removing it because it's not really necessary since the field is not stored.

[document_page] page_id should be readonly.

Improve active field

[document_page] Update version number

[UPD] Update document_page.pot

[MIG] document_page_multi_company (#188)

* [MIG] document_page_multi_company

Added this feature from the old module directly in document_page
2019-11-11 10:07:25 -05:00
José Luis
a04e2f315b Update document_page.xml
Fixing `Page` parents.
2019-11-08 12:01:21 -05:00
Axel-G
b406bab637 Translated using Weblate (German)
Currently translated at 77.8% (42 of 54 strings)

Translation: knowledge-11.0/knowledge-11.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-document_page/de/
2019-11-08 12:01:21 -05:00
derKonig
0cfffa4ebd Translated using Weblate (Persian)
Currently translated at 51.9% (28 of 54 strings)

Translation: knowledge-11.0/knowledge-11.0-document_page
Translate-URL: https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-document_page/fa/
2019-11-08 12:01:21 -05:00
oca-travis
a7fbf7db9a [UPD] Update document_page.pot 2019-11-08 12:01:21 -05:00
Gabriela Mogollon
f9f666ba20 [MIG] document_page: Migration to 11.0
continue migration
2019-11-08 12:01:21 -05:00
Jose Maria Alzaga
5582bc4615 [MIG] document_page: Migration to 11.0 2019-11-08 12:01:21 -05:00
OCA Transbot
4d24d6e20c OCA Transbot updated translations from Transifex 2019-11-08 12:01:21 -05:00
Iván Todorovich
0e1f3d6647 [IMP][10.0][document_page] Change Requests and workflow improvements on documents (#155) 2019-11-08 12:01:21 -05:00
Maxime Chambreuil
f9fe691b48 [MIG] document_page: Migration to version 10.0 (#120)
* [MIG] Migration to version 10.0
* [FIX] Comments and CI errors
* [FIX] ValueError: External ID not found in the system: base.menu_base_partner
* [FIX] ValueError: Wrong value for ir.actions.act_window.target: 'inlineview'
* [FIX] Based on @lasley comments
* [FIX] External ID not found in the system: base.group_document_user
2019-11-08 12:01:21 -05:00