Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
8820 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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' ;

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
gru 24
30827
1
sie 21
4694
1
gru 24
1562
7
sie 19
9349
1
lip 19
4493