Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] use tracking attribute instead of deprecated track_visibility #78

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

ndevas
Copy link

@ndevas ndevas commented Dec 11, 2021

Changes:
track_visibility='always' -> tracking=True
track_visibility='onchange' -> tracking=True

In modules:

  attendance_regularization
  hr_custody
  hr_disciplinary_tracking
  hr_gratuity_settlement
  hr_resignation
  hr_reward_warning
  oh_appraisal
  oh_hr_lawsuit_management
  ohrms_holidays_approval
  ohrms_loan
  ohrms_loan_accounting
  ohrms_salary_advance
  ohrms_service_request
  saudi_gosi

Avoid getting

WARNING database odoo.fields: Field hr.resignation.resign_confirm_date: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants