我使用odoo移动框架.如何在应用启动时启用同步选项?(默认情况下禁用该选项.)
我正在Ubuntu上开发Odoo(以前的OpenERP)模块.由于我的移动性,我决定使用Android设备继续我的工作,所以我不会依赖我的电脑.可以在Android上运行Odoo服务器吗?如您所知,开发Odoo模块需要进行几项测试.
谢谢.
我正在 odoo 10 的 crm 模块上制作一个 android 应用程序,我想通过我的应用程序在 odoo 中创建报价,我将这些不同的参数传递给ORecordValues并在之后调用createRecord()。所以当我单击“保存”按钮时,我正在调用python api 和 python api 给了我这个错误。
Database fetch misses ids (u'1') and has extra ids (1), may be caused by a type incoherence in a previous request
这是我在 odoo 中插入记录的代码。
ORecordValues values = new ORecordValues();
values.put("partner_id",resPartnerArrayList.get(idc).get_id());//parter id
values.put("date_order", binding.qOrderDate.getText().toString());
if(!expDate.isEmpty())
{
values.put("validity_date",
binding.qExpirationDate.getText().toString());
}
if(!paymentTerms.isEmpty())
{
values.put("payment_term_id",paymentTermArrayList.get(idP).get_id());//payment term id
}
if(!binding.qUntaxedAmount.getText().toString().isEmpty())
{
values.put("amount_untaxed",binding.qUntaxedAmount.getText().toString());
}
if(!binding.qTotal.getText().toString().isEmpty())
{
values.put("amount_total", binding.qTotal.getText().toString());
}
if(!binding.qTaxes.getText().toString().isEmpty())
{
values.put("amount_tax", binding.qTaxes.getText().toString());
}
return odoo.createRecord("sale.order", values);
Run Code Online (Sandbox Code Playgroud) 我目前正在为坚持使用Odoo for API的客户端开发一个android应用程序。我对此没有任何想法,即使在引用此链接后也没有得到它。他们提供了URL,数据库名称,用户名,以及密码。如果以前有人使用Android进行过Odoo的操作,您能提出建议吗?