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

BAH-3411 | Fixed. Address issues and email issue #41

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Conversation

hari1119
Copy link
Contributor

@hari1119 hari1119 commented Jan 3, 2024

Jira --> BAH-3411, BAH-3329,BAH-3369

In this PR below issues are resolved.

  • Customer Address update issue was fixed.
  • Email key error has been covered in this commit.
  • Default customer creation has been handled in this PR.

@@ -94,7 +94,7 @@ def _get_address_details(self, address):

@api.model
def _find_country(self, address):
return self.env['res.company'].search([], limit=1).partner_id.country_id
return self.env['res.country'].sudo().search([('name', '=', address.get('country'))], limit=1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hari1119 Please do not use sudo, it is removed now and we are passing sessionid

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okey @mohan-13

@mohan-13 mohan-13 merged commit 3217197 into main Jan 4, 2024
@mohan-13 mohan-13 deleted the BAH-3411-1 branch January 4, 2024 06:23
hari1119 pushed a commit that referenced this pull request Jan 10, 2024
* [Hari] | BAH-3411 | Fixed. Address issues and email issue has been fixed.

* [Hari] | BAH-3411-1 | Refactor. Sudo access was removed
rahu1ramesh pushed a commit that referenced this pull request Feb 9, 2024
* [Hari] | BAH-3440 | Fixed. order line qty logic changed.

* BAH-3411 | Fixed. Address issues and email issue (#41)

* [Hari] | BAH-3411 | Fixed. Address issues and email issue has been fixed.

* [Hari] | BAH-3411-1 | Refactor. Sudo access was removed

* BAH-3444 | Fix. AttributeError was fixed (#40)

* [Hari] | BAH-3444 | Fix. AttributeError was fixed

* [Hari] | BAH-3444 | Fixed. bahmni_api_feed module removed in the depends.

* [Hari] | BAH-3440 | Refactor. log message added & UOM logic was changed

* [BAH-3440] | Refactor. UOM relasted mapping changes
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