'set values in base currency'

def _set_in_company_currency(self, doc, fields):

    for f in fields:
        val = flt((flt(doc.get(f), doc.precision(f)) * self.doc.conversion_rate), doc.precision((u'base_' + f)))
        doc.set((u'base_' + f), val)
