Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2022-01-09 03:14:55 +00:00 committed by OCA2FC Migrator Bot
parent 5e00f42f70
commit a8a820289b
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ addon | version | summary
[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.1| Access to technical features without activating debug mode [base_technical_features](base_technical_features/) | 2.0.1.1.1| 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_formula](base_tier_validation_formula/) | 2.0.2.0.1| Formulas for Base tier validation
[base_tier_validation](base_tier_validation/) | 2.0.2.8.0| Implement a validation process based on tiers. [base_tier_validation](base_tier_validation/) | 2.0.2.8.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
[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles [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", "name": "Base Tier Validation",
"summary": "Implement a validation process based on tiers.", "summary": "Implement a validation process based on tiers.",
"version": "2.0.2.8.0", "version": "2.0.2.8.1",
"development_status": "Mature", "development_status": "Mature",
"maintainers": ["LoisRForgeFlow"], "maintainers": ["LoisRForgeFlow"],
"category": "Tools", "category": "Tools",

View File

@ -404,14 +404,14 @@ class TierTierValidation(CommonTierValidation):
records = self.env["tier.validation.tester"].search( records = self.env["tier.validation.tester"].search(
[("reviewer_ids", "=", False)] [("reviewer_ids", "=", False)]
) )
self.assertEquals(len(records), 1) self.assertEqual(len(records), 1)
self.test_record.with_user(self.test_user_2.id).request_validation() self.test_record.with_user(self.test_user_2.id).request_validation()
record = self.test_record.with_user(self.test_user_1.id) record = self.test_record.with_user(self.test_user_1.id)
record.invalidate_cache() record.invalidate_cache()
records = self.env["tier.validation.tester"].search( records = self.env["tier.validation.tester"].search(
[("reviewer_ids", "=", False)] [("reviewer_ids", "=", False)]
) )
self.assertEquals(len(records), 0) self.assertEqual(len(records), 0)
def test_18_test_review_by_res_users_field(self): def test_18_test_review_by_res_users_field(self):
selected_field = self.env["ir.model.fields"].search( selected_field = self.env["ir.model.fields"].search(