mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-23 06:32:07 +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
|
||||
[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.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_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
|
||||
|
@ -5,7 +5,7 @@
|
||||
"name": "Base Tier Validation Formula",
|
||||
"summary": """
|
||||
Formulas for Base tier validation""",
|
||||
"version": "2.0.2.0.0",
|
||||
"version": "2.0.2.0.1",
|
||||
"license": "AGPL-3",
|
||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||
"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")
|
||||
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()
|
||||
try:
|
||||
reviewer_ids = safe_eval(
|
||||
|
Loading…
Reference in New Issue
Block a user