|
@@ -23,7 +23,7 @@ const mutations = {
|
|
const actions = {
|
|
const actions = {
|
|
fetchCompany({ commit, dispatch }) {
|
|
fetchCompany({ commit, dispatch }) {
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
- let pos = new openerp.web.Model('res.company')
|
|
|
|
|
|
+ let ResCompany = new openerp.web.Model('res.company')
|
|
|
|
|
|
pos.call('get_company').then(response => {
|
|
pos.call('get_company').then(response => {
|
|
commit('setCompany', {
|
|
commit('setCompany', {
|