You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem wanting to obtain the sales teams through the external API.
I get the model (CrmTeamOdooModel) and create the class, but when doing the query to bring in the sales teams I get the following error: {Odoo Server Error, Undefined graphical model for the sales team: Sales}
public async Task<OdooResult<CrmTeamOdooModel[]>> GetCrmTeams()
{
try
{
var odooClient = await StartClientOdoo();
var repository = new OdooRepository<CrmTeamOdooModel>(config);
var crmTeams = await repository.Query().ToListAsync(); //Error {Odoo Server Error, Undefined graphical model for the sales team: Sales}
if (crmTeams .Error is not null)
{
throw new Exception(crmTeams .Error.ToString());
}
return crmTeams ;
}
catch (Exception)
{
throw;
}
}
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I have a problem wanting to obtain the sales teams through the external API.
I get the model (CrmTeamOdooModel) and create the class, but when doing the query to bring in the sales teams I get the following error: {Odoo Server Error, Undefined graphical model for the sales team: Sales}
The text was updated successfully, but these errors were encountered: