title: Odoo, create() missing 1 required positional argument: 'vals'
body: <p>I've inherited create function for <em>account_analytic_line</em>. The logic there is that if the field <strong>support_ticket_id</strong> is coming on vals dictionary, it will execute all the code inside the if statement.</p>
  <pre><code>    @api.model
      def create(self, vals):
          for val in vals:
              if 'support_ticket_id' in val:
                  ticket_id = vals['support_ticket_id']
                  ticket = self.env['website.support.ticket'].search([('id', '=', ticket_id)], limit=1)
                  vals['account_id'] = ticket.analytic_account_id.id
          res = super(AccountAnalyticLine, self).create(vals)
          return res
  </code></pre>
  <p>The weird thing is that, on my local enviroment is working fine. But on the production enviroment, is throwing this error:</p>
  <blockquote>
  <p>TypeError: create() missing 1 required positional argument: 'vals'</p>
  </blockquote>
  <p>More weird thing is that, if I change to @api.multi (I know that it can't be used in create method, but I just gave it a shot) and on my local enviroment is throwing same mistake, but on production is working fine. So it's all backwards between local and production and I don't know what is triggering this.</p>