无法从.csv文件导入发票数据

无法从.csv文件导入发票数据,csv,openerp,openerp-7,odoo-8,Csv,Openerp,Openerp 7,Odoo 8,我在openerp 7中有一些发票数据,已将其导出,并尝试通过csv格式以odoo 8导入。已定义Partner_id,但仍出现此错误 No matching record found for external id '__export__.account_account_8' in field 'Account' between rows 2 and 3 No matching record found for external id '__export__.account_journal_1

我在openerp 7中有一些发票数据,已将其导出,并尝试通过csv格式以odoo 8导入。已定义Partner_id,但仍出现此错误

No matching record found for external id '__export__.account_account_8' in field 'Account' between rows 2 and 3
No matching record found for external id '__export__.account_journal_1' in field 'Journal' between rows 2 and 3
No matching record found for external id '__export__.res_partner_5' in field 'Partner' between rows 2 and 3
No matching record found for external id '__export__.account_invoice_line_3' in field 'Invoice Lines' between rows 2 and 3
Missing required value for the field 'Partner' (partner_id) between rows 2 and 3
IntegrityError: null value in column "partner_id" violates not-null constraint

在导入关系字段时(假设有多个字段指向“other.table”),首先需要导入“other.table”的值。否则会显示错误。

导入关系字段时(假设有多个字段指向“other.table”),必须先导入“other.table”的值。否则,您将显示错误。

您似乎没有包含partner\u id字段,这是必需的 ,所以您需要将其包含在CSV文件中


从CSV导入的指南似乎没有包括合作伙伴id字段,这是强制性的 ,所以您需要将其包含在CSV文件中

从CSV导入的指南这是针对错误的:

缺少“帐户”字段的必需值

对于导入发票,除了标题级别的
科目
字段外,还需要项目级别的
发票行/科目
。有效值为
帐户代码
帐户名称

这是错误:

缺少“帐户”字段的必需值


对于导入发票,除了标题级别的
科目
字段外,还需要项目级别的
发票行/科目
。有效值为
帐户代码
帐户名称

导出您需要导入的值,则缺少的值将消失。

导出您需要导入的值,则缺少的值将消失。

我尝试只导入客户,但它仍然给我缺少的信息第2行“客户”(合作伙伴id)字段的必填值我尝试仅导入客户,但第2行“客户”(合作伙伴id)字段的必填值仍然缺失。对于合作伙伴id,我导入了其工作的所有客户。现在我得到这个错误,缺少字段“account”的必需值。字段account是必填字段,您也需要将其导出。如果我尝试导入accounts字段,它会说重复的键值违反了唯一约束“account\u account\u code\u company\u uniq”。对于合作伙伴\u id,我导入了所有客户的工作。现在我得到了这个错误,缺少字段“account”的必需值。字段account是必填字段,您也需要将其导出。如果我尝试导入accounts字段,它会说重复的键值违反了唯一约束“account\u account\u code\u company\u uniq”