mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-23 14:42:05 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
d740a08a8e
commit
493bd5fe5a
@ -21,7 +21,7 @@ addon | version | summary
|
|||||||
[barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher
|
[barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher
|
||||||
[multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards
|
[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_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.0| Formulas for Base tier validation
|
[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.5.1| 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_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_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"name": "Base Tier Validation Formula",
|
"name": "Base Tier Validation Formula",
|
||||||
"summary": """
|
"summary": """
|
||||||
Formulas for Base tier validation""",
|
Formulas for Base tier validation""",
|
||||||
"version": "2.0.2.0.0",
|
"version": "2.0.2.0.1",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||||
"website": "https://gitlab.com/flectra-community/server-ux",
|
"website": "https://gitlab.com/flectra-community/server-ux",
|
||||||
|
@ -29,7 +29,10 @@ class TierReview(models.Model):
|
|||||||
|
|
||||||
@api.depends("definition_id.reviewer_expression", "review_type", "model", "res_id")
|
@api.depends("definition_id.reviewer_expression", "review_type", "model", "res_id")
|
||||||
def _compute_python_reviewer_ids(self):
|
def _compute_python_reviewer_ids(self):
|
||||||
for rec in self.filtered(lambda x: x.review_type == "expression"):
|
for rec in self:
|
||||||
|
if rec.review_type != "expression":
|
||||||
|
rec.python_reviewer_ids = self.env["res.users"].browse()
|
||||||
|
continue
|
||||||
record = rec.env[rec.model].browse(rec.res_id).exists()
|
record = rec.env[rec.model].browse(rec.res_id).exists()
|
||||||
try:
|
try:
|
||||||
reviewer_ids = safe_eval(
|
reviewer_ids = safe_eval(
|
||||||
|
Loading…
Reference in New Issue
Block a user