Sign Up

Sign In

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Sorry, you do not have a permission to ask a question, You must login to ask question.

Discy Latest Questions

  • 1
  • 1

this is my code. I am trying to translate xml string into python list to be shown in html template. self.task_xml = "<?xml version="1.0" encoding="utf-8"?> <django-objects version="1.0"> <object model="task.task" pk="31"> <field name="name" type="CharField">New Task</field> <field name="parent_task_id" type="IntegerField">0</field> </object> <object model="task.task" pk="32"> <field ...

  • 9
  • 9

What I’ve done: I have a module with myfield = fields.Many2one('res.partner', string="Graduate", domain=[('is_graduated', '=', True)]) Then I have another class with _inherit = 'res.partner' is_graduated = fields.Boolean("Graduated before?", default=False) graduations = fields.Many2many('my_module.courses', string="Graduation courses") What I get: The myfield works good, but the graduations field ...

  • 0
  • 0

const headers = new HttpHeaders({ 'Content-Type': 'text/xml' }); headers.append('Accept', 'text/xml'); headers.append('Content-Type', 'text/xml'); this.http.get('getxmlurl', {headers: headers}).subscribe(response => { return '1234'; }); Hi I am using angular 4 httpclient to make a http get request from a spring controller which returns a XML response. The problem I ...

close