Skip to content

Commit

Permalink
[FIX] l10n_be_cooperator_website_national_number: Remove deprecated m…
Browse files Browse the repository at this point in the history
…ethod call

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
  • Loading branch information
carmenbianca committed May 26, 2023
1 parent 8f6d5e3 commit 15d8dad
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def get_values_from_user(self, values, is_company):

def fill_values(self, values, is_company, logged, load_from_user=False):
values = super().fill_values(values, is_company, logged, load_from_user)
sub_req_obj = request.env["subscription.request"]
if not is_company and sub_req_obj._check_national_number_required():
if not is_company and request.env.company.require_national_number:
values["national_number_required"] = True
return values

0 comments on commit 15d8dad

Please sign in to comment.