Skip to content

Commit

Permalink
Fix uid method in OdooMember verification
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Feb 26, 2024
1 parent 1e05082 commit 9941e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/forms/decidim/odoo/verifications/odoo_member.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def organization
end

def uid
odoo_user&.odoo_user_id
odoo_user&.ref
end

def odoo_user
Expand Down
2 changes: 1 addition & 1 deletion spec/forms/decidim/odoo/verifications/odoo_member_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module Verifications
let(:odoo_user) { create :odoo_user, member: true }
let(:metadata) do
{
uid: odoo_user.odoo_user_id,
uid: odoo_user.ref,
odoo_user_ref: odoo_user.ref
}
end
Expand Down

0 comments on commit 9941e5a

Please sign in to comment.