Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
8429 Visualizações

I need to insert some customer data using a script. Between all the data I need to insert account assets, but no the ones by default. I know that most of the information for customers is saved on res_partner but there is no field on that table related with assets.
Where can I find the fields property_account_receivable_id and property_account_payable_id?
I am using Odoo 10 Enterprise

Avatar
Cancelar
Melhor resposta

These are property fields and their values are company dependent. Users in different companies may see different values for these fields.

You can retrieve its value from ir_property table.

select * from ir_property where name='property_account_receivable_id' ;

Avatar
Cancelar
Autor Melhor resposta

I already had the module installed but I can not see that field. I suppose is the same, but I am searching it on the table called res_partner.

EDIT:

The fields obviously exists, because I can see them on the Odoo, but what I need to know is in which table from the database is stored that data

Avatar
Cancelar
Melhor resposta

Hi,
Install the module named Invoicing (technical name: account). In this module the res.partner is inherited and the field is added to the model.


Thanks

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
4
dez. 24
30210
1
ago. 21
4486
1
dez. 24
1212
7
ago. 19
9060
1
jul. 19
4274