diff --git a/README.md b/README.md index d06a32902..34d7418f4 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ addon | version | maintainers | summary | price [deltatech_average_payment_period](deltatech_average_payment_period/) | 16.0.1.0.0 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Computes average duration of cash accounting | Free [deltatech_backup_attachment](deltatech_backup_attachment/) | 16.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Backup attachments for selected file type | Free [deltatech_batch_transfer](deltatech_batch_transfer/) | 16.0.0.0.2 | [![danila12](https://github.com/danila12.png?size=30px)](https://github.com/danila12) | Batch transfer improvements | Free -[deltatech_business_process](deltatech_business_process/) | 16.0.1.2.8 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Business process | Free +[deltatech_business_process](deltatech_business_process/) | 16.0.1.2.9 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Business process | Free [deltatech_business_process_documentation](deltatech_business_process_documentation/) | 16.0.1.0.5 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Business process documentation | Free [deltatech_business_process_handover_document](deltatech_business_process_handover_document/) | 16.0.0.0.1 | [![VoicuStefan2001](https://github.com/VoicuStefan2001.png?size=30px)](https://github.com/VoicuStefan2001) | Business process verbal process | Free [deltatech_card_payment](deltatech_card_payment/) | 16.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Deltatech Payment Method Card | Free diff --git a/deltatech_business_process/README.rst b/deltatech_business_process/README.rst index 244ddf842..5896f8e47 100644 --- a/deltatech_business_process/README.rst +++ b/deltatech_business_process/README.rst @@ -7,7 +7,7 @@ Business process !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:447452d27b9f597f574a682424e5c5622e855f8c48ccf9e85bbc9e4290623786 + !! source digest: sha256:af393b3162dc6262e390d197936c5873006e99cafa83fbdab921943a12da3d64 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/deltatech_business_process/__manifest__.py b/deltatech_business_process/__manifest__.py index 684d6d195..6591e136c 100644 --- a/deltatech_business_process/__manifest__.py +++ b/deltatech_business_process/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Business process", "summary": "Business process", - "version": "16.0.1.2.8", + "version": "16.0.1.2.9", "author": "Terrabit, Dorin Hongu", "website": "https://www.terrabit.ro", "license": "OPL-1", diff --git a/deltatech_business_process/data/email_templates.xml b/deltatech_business_process/data/email_templates.xml index 8049a089a..c0705b748 100644 --- a/deltatech_business_process/data/email_templates.xml +++ b/deltatech_business_process/data/email_templates.xml @@ -3,16 +3,20 @@ Development Approved Development Approved - {{object.project_id.project_manager_id.partner_id.id}} + {{object.project_id.project_manager_id.id}}

- Dear , + Dear ,
The development - of + + of + has been approved on - . + + with the required time of . +
Please check and inform colleagues of the current development. @@ -23,33 +27,38 @@ {{object.project_id.project_manager_id.lang}} + + + Issue Submitted + + Issue Submitted + {{object.project_id.project_manager_id.id}} + +

+

+ Dear , +
+ The issue + + of + + has submitted by + + on + . +
+ Please check and inform colleagues of the current issue. +
+
+ Description: +
+

+ +
+

+
+ + {{object.project_id.project_manager_id.lang}} + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/deltatech_business_process/i18n/ro.po b/deltatech_business_process/i18n/ro.po index d79cab311..862805550 100644 --- a/deltatech_business_process/i18n/ro.po +++ b/deltatech_business_process/i18n/ro.po @@ -4,10 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0+e\n" +"Project-Id-Version: Odoo Server 16.0+ec\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-17 10:14+0000\n" -"PO-Revision-Date: 2024-05-17 10:14+0000\n" +"POT-Creation-Date: 2024-10-30 11:49+0000\n" +"PO-Revision-Date: 2024-10-30 11:49+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,6 +15,59 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: deltatech_business_process +#: model:mail.template,body_html:deltatech_business_process.email_template_development_approved +msgid "" +"
\n" +"

\n" +" Dear ,\n" +"
\n" +" The development\n" +" \n" +" of\n" +" \n" +" has been approved on\n" +" \n" +" with the required time of .\n" +"\n" +"
\n" +" Please check and inform colleagues of the current development.\n" +"\n" +"\n" +"

\n" +"
\n" +" " +msgstr "" + +#. module: deltatech_business_process +#: model:mail.template,body_html:deltatech_business_process.email_template_issue_submitted +msgid "" +"
\n" +"

\n" +" Draga ,\n" +"
\n" +" Problema\n" +" \n" +" din\n" +" \n" +" a fost semnalata de\n" +" \n" +" pe\n" +" .\n" +"
\n" +" Va rugam verificati si anuntati colegi.\n" +"
\n" +"
\n" +" Descriere:\n" +"
\n" +"

\n" +" \n" +"
\n" +"

\n" +"
\n" +" " +msgstr "" + #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_project_kanban msgid "" @@ -35,6 +88,11 @@ msgstr "Pași" msgid "Tests" msgstr "Teste" +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form +msgid "Acceptance Tests" +msgstr "Teste acceptanta" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__message_needaction #: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__message_needaction @@ -146,6 +204,7 @@ msgstr "Număr atașamente" #. odoo-python #: code:addons/deltatech_business_process/models/business_process.py:0 #: code:addons/deltatech_business_process/models/business_process_test.py:0 +#: code:addons/deltatech_business_process/models/business_project.py:0 #, python-format msgid "Attachments" msgstr "Atașamente" @@ -234,6 +293,11 @@ msgstr "Pași proces afaceri" msgid "Business Process Test" msgstr "Test proces afaceri" +#. module: deltatech_business_process +#: model:ir.actions.act_window,name:deltatech_business_process.business_process_test_action_form +msgid "Business Process Test Form" +msgstr "" + #. module: deltatech_business_process #: model:ir.ui.menu,name:deltatech_business_process.menu_business_process_report msgid "Business Processes" @@ -294,7 +358,7 @@ msgstr "Proces afaceri" #. module: deltatech_business_process #: model:ir.model,name:deltatech_business_process.model_business_process_test msgid "Business process Test" -msgstr "Teste proces afaceri" +msgstr "Test proces afaceri" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_area__process_group_ids @@ -336,7 +400,7 @@ msgstr "Rol" #: model:ir.actions.act_window,name:deltatech_business_process.action_business_transaction #: model:ir.model,name:deltatech_business_process.model_business_transaction msgid "Business transaction" -msgstr "Tranzacție de afaceri" +msgstr "Tranzacție afaceri" #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_export_form @@ -395,19 +459,19 @@ msgstr "Completare" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__completion_dev msgid "Completion Dev" -msgstr "Completare dev" +msgstr "Progres dev" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__completion_fs msgid "Completion FS" -msgstr "Completare FS" +msgstr "Progres FS" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__completion_test #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__completion_test #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__completion_test msgid "Completion Test" -msgstr "Testare completare" +msgstr "Progres testare" #. module: deltatech_business_process #: model:ir.model.fields,help:deltatech_business_process.field_business_process__completion_bbp @@ -418,19 +482,19 @@ msgstr "Schița completare afacere" #. module: deltatech_business_process #: model:ir.model.fields,help:deltatech_business_process.field_business_development__completion_dev msgid "Completion development" -msgstr "Completarea dezvoltarii" +msgstr "Progres dezvoltare" #. module: deltatech_business_process #: model:ir.model.fields,help:deltatech_business_process.field_business_development__completion_fs msgid "Completion of functional specification" -msgstr "Completarea funcționalității specificate" +msgstr "Procent specificație funcțională" #. module: deltatech_business_process #: model:ir.model.fields,help:deltatech_business_process.field_business_development__completion_test #: model:ir.model.fields,help:deltatech_business_process.field_business_process_test__completion_test #: model:ir.model.fields,help:deltatech_business_process.field_business_process_test_report__completion_test msgid "Completion test" -msgstr "Testare completare" +msgstr "Progres testare" #. module: deltatech_business_process #: model:ir.ui.menu,name:deltatech_business_process.menu_config @@ -445,7 +509,7 @@ msgstr "Durata configurare" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__responsible_id msgid "Consultant" -msgstr "Consultant" +msgstr "" #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_export_form @@ -456,7 +520,12 @@ msgstr "Contacte" #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_issue__severity__cosmetic #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_open_issue__severity__cosmetic msgid "Cosmetic" -msgstr "Cosmetic" +msgstr "" + +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__count_acceptance_tests +msgid "Count Acceptance Tests" +msgstr "Numar teste acceptanta" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__count_developments @@ -465,6 +534,7 @@ msgstr "Număr dezvoltări" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__doc_count +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__doc_count msgid "Count Documents" msgstr "Număr documente" @@ -551,7 +621,7 @@ msgstr "Client" #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_report__customer_id #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__customer_id msgid "Customer Responsible" -msgstr "Responsabil client" +msgstr "Client responsabil" #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_step_test_from @@ -635,7 +705,7 @@ msgstr "Date" #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_issue__category__defect #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_open_issue__category__defect msgid "Defect" -msgstr "Defect" +msgstr "" #. module: deltatech_business_process #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_project__state__deployment @@ -690,11 +760,22 @@ msgstr "Dezvoltator" msgid "Development" msgstr "Dezvoltare" +#. module: deltatech_business_process +#: model:mail.template,name:deltatech_business_process.email_template_development_approved +#: model:mail.template,subject:deltatech_business_process.email_template_development_approved +msgid "Development Approved" +msgstr "Aprobare dezvoltare" + #. module: deltatech_business_process #: model:ir.ui.menu,name:deltatech_business_process.menu_business_development_type msgid "Development Type" msgstr "Tip dezvoltare" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__development_duration +msgid "Development duration" +msgstr "Durata dezvoltare" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__development_ids #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_step__development_ids @@ -730,6 +811,7 @@ msgstr "Nume afișat" #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_test_form +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_project_form msgid "Documents" msgstr "Documente" @@ -762,6 +844,11 @@ msgstr "Efectuat" msgid "Draft" msgstr "Ciornă" +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form +msgid "Duration" +msgstr "Durata" + #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form msgid "Duration of process" @@ -875,7 +962,7 @@ msgstr "Export proces afaceri selectate" #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_process_test_report__transaction_type__ex #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_transaction__transaction_type__ex msgid "Extern" -msgstr "Extern" +msgstr "" #. module: deltatech_business_process #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_process_step_test__result__failed @@ -950,15 +1037,20 @@ msgstr "Urmăritori (Parteneri)" msgid "Font awesome icon e.g. fa-tasks" msgstr "" +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_project_form +msgid "Get Duration" +msgstr "Obtine durata" + #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form msgid "Go live" -msgstr "Trecere în producție" +msgstr "Trecere producție" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__date_go_live msgid "Go live date" -msgstr "Data trecere în producție" +msgstr "Data trecere producție" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__has_message @@ -1037,17 +1129,11 @@ msgstr "Dacă este bifat, noi mesaje necesită atenția dvs." #. module: deltatech_business_process #: model:ir.model.fields,help:deltatech_business_process.field_business_development__message_has_error -#: model:ir.model.fields,help:deltatech_business_process.field_business_development__message_has_sms_error #: model:ir.model.fields,help:deltatech_business_process.field_business_issue__message_has_error -#: model:ir.model.fields,help:deltatech_business_process.field_business_issue__message_has_sms_error #: model:ir.model.fields,help:deltatech_business_process.field_business_open_issue__message_has_error -#: model:ir.model.fields,help:deltatech_business_process.field_business_open_issue__message_has_sms_error #: model:ir.model.fields,help:deltatech_business_process.field_business_process__message_has_error -#: model:ir.model.fields,help:deltatech_business_process.field_business_process__message_has_sms_error #: model:ir.model.fields,help:deltatech_business_process.field_business_process_test__message_has_error -#: model:ir.model.fields,help:deltatech_business_process.field_business_process_test__message_has_sms_error #: model:ir.model.fields,help:deltatech_business_process.field_business_project__message_has_error -#: model:ir.model.fields,help:deltatech_business_process.field_business_project__message_has_sms_error msgid "If checked, some messages have a delivery error." msgstr "Dacă este bifat, unele mesaje au erori de livrare." @@ -1056,11 +1142,21 @@ msgstr "Dacă este bifat, unele mesaje au erori de livrare." msgid "Implementation" msgstr "Implementare" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__responsible_id +msgid "Implementation Responsible" +msgstr "Responsabil implementare" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__implementation_stage msgid "Implementation stage" msgstr "Etapa implementare" +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_filter +msgid "Implementation state" +msgstr "Stare implementare" + #. module: deltatech_business_process #: model:ir.actions.act_window,name:deltatech_business_process.action_business_process_from_process_import #: model:ir.actions.act_window,name:deltatech_business_process.action_business_process_from_project_import @@ -1112,6 +1208,21 @@ msgstr "Includere aprobat de?" msgid "Include Customer Responsible?" msgstr "Includere responsabil client?" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_export__include_durations +msgid "Include Durations?" +msgstr "Includere durate?" + +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_export__include_modules +msgid "Include Modules?" +msgstr "Includere module?" + +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_export__include_process_state +msgid "Include Process State?" +msgstr "Includere stare proces?" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_export__include_responsible msgid "Include Responsible?" @@ -1127,6 +1238,11 @@ msgstr "Includere suport?" msgid "Include Tests in Export?" msgstr "Includere teste în export?" +#. module: deltatech_business_process +#: model:ir.actions.server,name:deltatech_business_process.action_install_modules_for_selected +msgid "Install Modules for Selected Processes" +msgstr "Instalare module pentru procesele selectate" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__instructing_duration msgid "Instructing duration" @@ -1144,6 +1260,13 @@ msgstr "Integrare" msgid "Internal" msgstr "Intern" +#. module: deltatech_business_process +#. odoo-python +#: code:addons/deltatech_business_process/models/business_process.py:0 +#, python-format +msgid "Internal Test %s" +msgstr "Test intern %s" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__message_is_follower #: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__message_is_follower @@ -1159,6 +1282,12 @@ msgstr "Este urmăritor" msgid "Issue" msgstr "Problemă" +#. module: deltatech_business_process +#: model:mail.template,name:deltatech_business_process.email_template_issue_submitted +#: model:mail.template,subject:deltatech_business_process.email_template_issue_submitted +msgid "Issue Submitted" +msgstr "Problema semnalată" + #. module: deltatech_business_process #: model:ir.actions.act_window,name:deltatech_business_process.action_business_issue #: model:ir.actions.act_window,name:deltatech_business_process.action_business_issue_report @@ -1232,6 +1361,11 @@ msgstr "Ultima actualizare de" msgid "Last Updated on" msgstr "Ultima actualizare pe" +#. module: deltatech_business_process +#: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_project__project_type__local +msgid "Local" +msgstr "" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__logo #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_project_kanban @@ -1292,6 +1426,12 @@ msgstr "Minoră" msgid "Module type" msgstr "Tip modul" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__module_ids +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form +msgid "Modules" +msgstr "Module" + #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_transaction_filter msgid "More" @@ -1331,6 +1471,16 @@ msgstr "Termen limită activității mele" msgid "Name" msgstr "Nume" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__activity_calendar_event_id +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__activity_calendar_event_id +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_open_issue__activity_calendar_event_id +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__activity_calendar_event_id +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__activity_calendar_event_id +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__activity_date_deadline #: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__activity_date_deadline @@ -1380,6 +1530,11 @@ msgstr "Nu este bun" msgid "Not started" msgstr "Neînceput" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__note +msgid "Note" +msgstr "" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__message_needaction_counter #: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__message_needaction_counter @@ -1388,13 +1543,14 @@ msgstr "Neînceput" #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__message_needaction_counter #: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__message_needaction_counter msgid "Number of Actions" -msgstr "Număr de acțiuni" +msgstr "Număr acțiuni" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__doc_count #: model:ir.model.fields,help:deltatech_business_process.field_business_process__doc_count +#: model:ir.model.fields,help:deltatech_business_process.field_business_project__doc_count msgid "Number of documents attached" -msgstr "Număr de documente atașate" +msgstr "Număr documente atașate" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__message_has_error_counter @@ -1436,6 +1592,13 @@ msgstr "Observație" msgid "Ok" msgstr "" +#. module: deltatech_business_process +#. odoo-python +#: code:addons/deltatech_business_process/models/business_process.py:0 +#, python-format +msgid "Only local projects can install modules" +msgstr "Doar proiectele locale pot instala module!" + #. module: deltatech_business_process #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_issue__state__open #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_open_issue__state__open @@ -1506,6 +1669,7 @@ msgstr "Proces" #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__process_group_id #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_report__process_group_id #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__process_group_id +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_filter msgid "Process Group" msgstr "Grup procese" @@ -1553,6 +1717,7 @@ msgstr "Test proces" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__process_ids +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_export_form #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_project_form msgid "Processes" msgstr "Procese" @@ -1576,6 +1741,16 @@ msgstr "Producție" msgid "Project" msgstr "Proiect" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__project_manager_id +msgid "Project Manager" +msgstr "Manager proiect" + +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__project_type +msgid "Project Type" +msgstr "Tip proiect" + #. module: deltatech_business_process #: model:ir.ui.menu,name:deltatech_business_process.menu_business_project msgid "Projects" @@ -1611,6 +1786,11 @@ msgstr "Regressie" msgid "Rejected" msgstr "Respins" +#. module: deltatech_business_process +#: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_project__project_type__remote +msgid "Remote" +msgstr "" + #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_issue_form msgid "Reopen" @@ -1647,11 +1827,14 @@ msgstr "Resetează la ciornă" #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_step_test__responsible_id #: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__responsible_id #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_development_filter +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_issue_form +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_filter +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_step_filter #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_step_form #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_step_test_from msgid "Responsible" -msgstr "Responsabili" +msgstr "Responsabil" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__responsible_id @@ -1663,7 +1846,7 @@ msgstr "Responsabil proces" #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_step__responsible_id #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__responsible_step_id msgid "Responsible Step" -msgstr "Pas responsabil" +msgstr "Responsabil pas" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__activity_user_id @@ -1675,11 +1858,6 @@ msgstr "Pas responsabil" msgid "Responsible User" msgstr "Utilizator responsabil" -#. module: deltatech_business_process -#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form -msgid "Responsibles" -msgstr "Responsabili" - #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_step_test__result #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__result @@ -1706,16 +1884,6 @@ msgstr "Pornire" msgid "Running" msgstr "În desfășurare" -#. module: deltatech_business_process -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__message_has_sms_error -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__message_has_sms_error -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_open_issue__message_has_sms_error -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__message_has_sms_error -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__message_has_sms_error -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__message_has_sms_error -msgid "SMS Delivery error" -msgstr "Eroare trimitere SMS" - #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__scope #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test_report__scope @@ -1886,6 +2054,11 @@ msgstr "Stadiu BP" msgid "State Test" msgstr "Stadiu test" +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_form +msgid "Status" +msgstr "" + #. module: deltatech_business_process #: model:ir.model.fields,help:deltatech_business_process.field_business_development__activity_state #: model:ir.model.fields,help:deltatech_business_process.field_business_issue__activity_state @@ -1937,6 +2110,13 @@ msgstr "Testare pas" msgid "Steps" msgstr "Pași" +#. module: deltatech_business_process +#. odoo-python +#: code:addons/deltatech_business_process/models/business_process.py:0 +#, python-format +msgid "Success" +msgstr "" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__support_id msgid "Support" @@ -1966,7 +2146,12 @@ msgstr "" #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_test_form msgid "Test Steps" -msgstr "Pași de Test" +msgstr "Pași Test" + +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_step_test__test_started +msgid "Test started" +msgstr "Test inceput" #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__test_step_ids @@ -2017,8 +2202,8 @@ msgid "" "The field Solution Date is required, please complete it to change status to " "Solved" msgstr "" -"Data soluției este obligatorie, vă rugăm să o completați pentru a schimba în " -"rezolvat" +"Data soluției este obligatorie, vă rugăm să o completați pentru a schimba în" +" rezolvat" #. module: deltatech_business_process #. odoo-python @@ -2048,6 +2233,11 @@ msgstr "Acest test este completat." msgid "Total duration" msgstr "Durata totală" +#. module: deltatech_business_process +#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__total_project_duration +msgid "Total project duration" +msgstr "Durata totală a proiectului" + #. module: deltatech_business_process #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_report__transaction_id #: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_step__transaction_id @@ -2113,24 +2303,11 @@ msgid "Waiting" msgstr "Așteptare" #. module: deltatech_business_process -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_development__website_message_ids -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_issue__website_message_ids -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_open_issue__website_message_ids -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__website_message_ids -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process_test__website_message_ids -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_project__website_message_ids -msgid "Website Messages" -msgstr "Mesaje site" - -#. module: deltatech_business_process -#: model:ir.model.fields,help:deltatech_business_process.field_business_development__website_message_ids -#: model:ir.model.fields,help:deltatech_business_process.field_business_issue__website_message_ids -#: model:ir.model.fields,help:deltatech_business_process.field_business_open_issue__website_message_ids -#: model:ir.model.fields,help:deltatech_business_process.field_business_process__website_message_ids -#: model:ir.model.fields,help:deltatech_business_process.field_business_process_test__website_message_ids -#: model:ir.model.fields,help:deltatech_business_process.field_business_project__website_message_ids -msgid "Website communication history" -msgstr "Istoric comunicare site" +#. odoo-python +#: code:addons/deltatech_business_process/models/business_process.py:0 +#, python-format +msgid "Warning" +msgstr "Avertizare" #. module: deltatech_business_process #: model:ir.model.fields.selection,name:deltatech_business_process.selection__business_process_export__state__choose @@ -2144,6 +2321,11 @@ msgstr "alege" msgid "get" msgstr "obține" +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_development_form +msgid "Note" +msgstr "Nota" + #. module: deltatech_business_process #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_export_form #: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_import_form @@ -2151,7 +2333,11 @@ msgid "or" msgstr "sau" #. module: deltatech_business_process -#: model:ir.model.fields,field_description:deltatech_business_process.field_business_process__responsible_id -#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_step_form -msgid "Implementation Responsible" -msgstr "Responsabil implementare" +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_test_filter +msgid "scope" +msgstr "scop" + +#. module: deltatech_business_process +#: model_terms:ir.ui.view,arch_db:deltatech_business_process.view_business_process_test_filter +msgid "state" +msgstr "" diff --git a/deltatech_business_process/models/business_issue.py b/deltatech_business_process/models/business_issue.py index 569096f0c..f0454fef7 100644 --- a/deltatech_business_process/models/business_issue.py +++ b/deltatech_business_process/models/business_issue.py @@ -1,6 +1,8 @@ # © 2023 Deltatech # See README.rst file on addons root folder for license details +from datetime import date + from odoo import _, api, fields, models from odoo.exceptions import UserError @@ -136,8 +138,15 @@ def create(self, vals): if not vals.get("code", False): vals["code"] = self.env["ir.sequence"].next_by_code(self._name) result = super().create(vals) + result.send_mail() return result + def send_mail(self): + today = date.today().strftime("%Y-%m-%d") + self.sudo().message_post(body=f"Date of approval: {today}") + template = self.env.ref("deltatech_business_process.email_template_issue_submitted") + self.env["mail.template"].browse(template.id).send_mail(self.id, force_send=True) + def name_get(self): self.browse(self.ids).read(["name", "code"]) return [(item.id, "{}{}".format(item.code and "[%s] " % item.code or "", item.name)) for item in self] diff --git a/deltatech_business_process/models/business_process.py b/deltatech_business_process/models/business_process.py index 577c3f65d..452ea978d 100644 --- a/deltatech_business_process/models/business_process.py +++ b/deltatech_business_process/models/business_process.py @@ -2,6 +2,7 @@ # See README.rst file on addons root folder for license details from odoo import _, api, fields, models +from odoo.exceptions import UserError class BusinessProcess(models.Model): @@ -333,14 +334,23 @@ def _start_test(self, scope): domain = [("process_id", "=", process.id), ("scope", "=", scope)] test = self.env["business.process.test"].search(domain, limit=1) if not test: - test = self.env["business.process.test"].create( - { - "name": _("Test %s") % process.code if process.code else process.name, - "process_id": process.id, - "tester_id": self.env.user.partner_id.id, - "scope": scope, - } - ) + if scope == "internal": + test = self.env["business.process.test"].create( + { + "name": _("Internal Test %s") % process.code if process.code else process.name, + "process_id": process.id, + "tester_id": self.responsible_id.id, + "scope": scope, + } + ) + else: + test = self.env["business.process.test"].create( + { + "name": _("Test %s") % process.code if process.code else process.name, + "process_id": process.id, + "scope": scope, + } + ) test._onchange_process_id() def _add_followers(self): @@ -391,3 +401,39 @@ def start_integration_test(self): def start_user_acceptance_test(self): self._start_test("user_acceptance") + + def button_install_modules(self): + found_modules = False + for record in self: + if record.project_id.project_type != "local": + raise UserError(_("Only local projects can install modules")) + modules_to_install = record.module_ids.filtered(lambda m: m.state != "installed") + if not modules_to_install: + continue + for module in modules_to_install: + found_modules = True + module.button_immediate_install() + if not found_modules: + notification = { + "type": "ir.actions.client", + "tag": "display_notification", + "params": { + "title": _("Warning"), + "type": "warning", + "message": "No modules to install found", + "sticky": False, + }, + } + return notification + else: + notification = { + "type": "ir.actions.client", + "tag": "display_notification", + "params": { + "title": _("Success"), + "type": "success", + "message": "Modules installed successfully", + "sticky": False, + }, + } + return notification diff --git a/deltatech_business_process/models/business_process_test.py b/deltatech_business_process/models/business_process_test.py index 4d4540d53..62c3fe4bd 100644 --- a/deltatech_business_process/models/business_process_test.py +++ b/deltatech_business_process/models/business_process_test.py @@ -153,9 +153,9 @@ def action_run(self): test.process_id.write({"status_user_acceptance_test": "in_progress"}) if not self.tester_id: self.tester_id = self.env.user.partner_id - for step in self.test_step_ids: - if not step.responsible_id: - step.responsible_id = self.env.user.partner_id + for step in self.test_step_ids: + if not step.responsible_id: + step.responsible_id = self.tester_id for steps in self.test_step_ids: steps.write({"test_started": True}) diff --git a/deltatech_business_process/models/business_project.py b/deltatech_business_process/models/business_project.py index 15d3ef4c3..0172cd47a 100644 --- a/deltatech_business_process/models/business_project.py +++ b/deltatech_business_process/models/business_project.py @@ -48,9 +48,9 @@ class BusinessProject(models.Model): ) project_manager_id = fields.Many2one( string="Project Manager", - comodel_name="res.users", - domain="[('is_company', '=', False)]", + comodel_name="res.partner", ) + project_type = fields.Selection([("remote", "Remote"), ("local", "Local")], string="Project Type", default="remote") @api.model def create(self, vals): diff --git a/deltatech_business_process/static/description/index.html b/deltatech_business_process/static/description/index.html index 72a708c1f..e80bcb462 100644 --- a/deltatech_business_process/static/description/index.html +++ b/deltatech_business_process/static/description/index.html @@ -14,7 +14,7 @@

Business process

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:447452d27b9f597f574a682424e5c5622e855f8c48ccf9e85bbc9e4290623786 +!! source digest: sha256:af393b3162dc6262e390d197936c5873006e99cafa83fbdab921943a12da3d64 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: OPL-1 dhongu/deltatech

diff --git a/deltatech_business_process/views/business_development_view.xml b/deltatech_business_process/views/business_development_view.xml index 64c8f6708..8a12e612b 100644 --- a/deltatech_business_process/views/business_development_view.xml +++ b/deltatech_business_process/views/business_development_view.xml @@ -88,7 +88,7 @@ -