İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3438 Görünümler

I have inherit this  Settings-> Configuration -> Accounting. I have added one check box. when i mark this check box to true, after click on "apply" button, this check box showing like uncheked check box. But the value storing in database is "True".

I would get the field to that menu. But the value supplied to that field not showing properly. for example i have added a field "vattaxrateinvoice" and added value "10%" after click on "apply" button, the field vattaxrateinvoice not showing "10%". It is showing blank. But the value "10%" store in database perfectly

Avatar
Vazgeç
En İyi Yanıt

Hi samba,

About what you're asking, you can see an example here: https://github.com/ingadhoc/odoo-addons/blob/master/account_voucher_receipt/res_config_view.xml

Regards,

Juan José - Ing ADHOC

Avatar
Vazgeç
Üretici

Thank you jaun, I would get the field to that menu. But the value supplied to that field not showing properly. for example i have added a field "vattaxrateinvoice" and added value "10%" after click on "apply" button, the field vattaxrateinvoice not showing "10%". It is showing blank. But the value "10%" store in database perfectly

I think that you should define the function that get the default value. If I have "my_config_field" then I should also have "get_default_get_default_virtual_alias_path" and "set_get_default_virtual_alias_path". 
I think it works like this but of course I can be wrong. 

Ing. Juan José Scarafía
(+54 9 341)153 278039
skype: jjscarafia
twitter: @jjscarafia
github: @jjscarafia



2014-07-30 10:08 GMT-03:00 samba <gs9783@gmail.com>:

Thank you jaun, I would get the field to that menu. But the value supplied to that field not showing properly. for example i have added a field "vattaxrateinvoice" and added value "10%" after click on "apply" button, the field vattaxrateinvoice not showing "10%". It is showing blank. But the value "10%" store in database perfectly

--
samba Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo

İlgili Gönderiler Cevaplar Görünümler Aktivite
View inheritance Çözüldü
1
Mar 20
3350
12
Ara 18
34582
1
Tem 16
6965
1
Mar 15
7639
0
Mar 15
3781