Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2021-11-14 03:13:16 +00:00 committed by OCA2FC Migrator Bot
parent fe51718db2
commit 5fe9942931
12 changed files with 98 additions and 11 deletions

View File

@ -22,7 +22,7 @@ addon | version | summary
[multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards
[base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode
[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation
[base_tier_validation](base_tier_validation/) | 2.0.2.5.1| Implement a validation process based on tiers.
[base_tier_validation](base_tier_validation/) | 2.0.2.6.0| Implement a validation process based on tiers.
[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI
[base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document
[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles

View File

@ -3,7 +3,7 @@
{
"name": "Base Tier Validation",
"summary": "Implement a validation process based on tiers.",
"version": "2.0.2.5.1",
"version": "2.0.2.6.0",
"development_status": "Mature",
"maintainers": ["LoisRForgeFlow"],
"category": "Tools",

View File

@ -319,6 +319,17 @@ msgstr ""
msgid "New Tier Validation"
msgstr ""
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -338,6 +338,17 @@ msgstr "Necesita validación"
msgid "New Tier Validation"
msgstr "Nueva Validación de Nivel"
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -99,7 +99,8 @@ msgstr "{} rechazó una revisión. ({})"
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "A validation process is still open for at least one record."
msgstr "Todavía hay un proceso de validación abierto para al menos un registro."
msgstr ""
"Todavía hay un proceso de validación abierto para al menos un registro."
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_definition__active
@ -337,6 +338,17 @@ msgstr "Necesita validación"
msgid "New Tier Validation"
msgstr "Nueva Definición de Nivel"
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -335,6 +335,17 @@ msgstr "Doit être validé"
msgid "New Tier Validation"
msgstr "Nouvelle validation par un tiers"
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -335,6 +335,17 @@ msgstr "Richiede Approvazione"
msgid "New Tier Validation"
msgstr "Nuovo Livello Approvazione"
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -324,6 +324,17 @@ msgstr "Validatie nodig"
msgid "New Tier Validation"
msgstr "Nieuwe Tier-validatie"
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -322,6 +322,17 @@ msgstr "需要审批"
msgid "New Tier Validation"
msgstr "新建多层级审批"
#. module: base_tier_validation
#: model:ir.model.fields,field_description:base_tier_validation.field_tier_validation__next_review
msgid "Next Review"
msgstr ""
#. module: base_tier_validation
#: code:addons/base_tier_validation/models/tier_validation.py:0
#, python-format
msgid "Next: %s"
msgstr ""
#. module: base_tier_validation
#. openerp-web
#: code:addons/base_tier_validation/static/src/xml/systray.xml:0

View File

@ -48,6 +48,7 @@ class TierValidation(models.AbstractModel):
compute="_compute_can_review", search="_search_can_review"
)
has_comment = fields.Boolean(compute="_compute_has_comment")
next_review = fields.Char(compute="_compute_next_review")
def _compute_has_comment(self):
for rec in self:
@ -140,6 +141,13 @@ class TierValidation(models.AbstractModel):
rec.validated = self._calc_reviews_validated(rec.review_ids)
rec.rejected = self._calc_reviews_rejected(rec.review_ids)
def _compute_next_review(self):
for rec in self:
review = rec.review_ids.sorted("sequence").filtered(
lambda l: l.status == "pending"
)[:1]
rec.next_review = review and _("Next: %s") % review.name or ""
@api.model
def _calc_reviews_validated(self, reviews):
"""Override for different validation policy."""

View File

@ -50,6 +50,7 @@
class="btn-icon btn-danger"
icon="fa-thumbs-down"
/>
<br /><field name="next_review" />
</p>
</div>
<div

View File

@ -9,8 +9,8 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-22 00:55+0000\n"
"PO-Revision-Date: 2020-12-28 23:43+0000\n"
"Last-Translator: Alessandro Fiorino <alessandro.fiorino@digitaldomus.it>\n"
"PO-Revision-Date: 2021-11-08 19:35+0000\n"
"Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
@ -48,14 +48,14 @@ msgid ""
"Example :\n"
"'many2many_tags', 'selection'"
msgstr ""
"Aggiunti il tipo di widget che sarà usato per mostrare il campo nel wizard. "
"Aggiungi il tipo di widget che sarà usato per mostrare il campo nel wizard. "
"Esempio:\n"
"'many2many_tags', 'selection'"
#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__groups_id
msgid "Allowed Groups"
msgstr "Gruppi Abilitati"
msgstr "Gruppi Consentiti"
#. module: mass_editing
#: model:ir.model.fields,help:mass_editing.field_mass_editing_line__apply_domain
@ -152,7 +152,7 @@ msgstr "Modifiche massive"
#. module: mass_editing
#: model:ir.model,name:mass_editing.model_mass_editing_line
msgid "Mass Editing Line"
msgstr "Modifiche massive linea"
msgstr "Riga Modifiche massive"
#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing__message
@ -189,18 +189,18 @@ msgstr "Descrizione Operazione Avviso"
#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__remaining_item_qty
msgid "Remaining Item Qty"
msgstr "Qta Item RImanenti"
msgstr "Qta Elementi Rimanenti"
#. module: mass_editing
#: code:addons/mass_editing/wizard/mass_editing_wizard.py:0
#, python-format
msgid "Remove"
msgstr "RImuovi"
msgstr "Rimuovi"
#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_wizard__selected_item_qty
msgid "Selected Item Qty"
msgstr "Qty Item Selezionati"
msgstr "Qta Elementi Selezionati"
#. module: mass_editing
#: model:ir.model.fields,field_description:mass_editing.field_mass_editing_line__sequence