-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
[18.0][ADD] edi_exchange_template_oca_json #137
base: 18.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls drop the odoo version from commits and squash them.
You might want to add yourself to contribs ;)
|
||
def _post_process_json_output(self, output): | ||
"""Post-process JSON output.""" | ||
return str(output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return str(output) | |
return json.dumps(output) |
|
||
def test_01_generate_json(self): | ||
self.backend.exchange_generate(self.record_json) | ||
expected = f"{{'name': '{self.partner.name}', 'ref': '{self.partner.ref}'}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expected = f"{{'name': '{self.partner.name}', 'ref': '{self.partner.ref}'}}" | |
expected = json.dumps({"name": self.partner.name, "ref": self.partner.ref}) |
No description provided.