Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4637 Prikazi

I make some changes in account/wizard for both .py and .xml file but could not get it updated after restarted the service and upgrade the module. What did I do wrong? Please help.

change addons/account/wizard/account_vat_view.xml label at line 10

I also make changes to  addons/account/wizard/account_vat.py

added a new field "gen_gaf"   

 

After the changed I restarted the service and upgrade account module but nothing gets updated.

Avatar
Opusti

please can you give more details in account wizard which file changed?...

Avtor

updated

Avtor Best Answer

You should develop a module and use inheritence. Leave the original code alone, you will loose all changes on any update. Look through here and inherit the wizard: https://doc.odoo.com/trunk/server/03_module_dev/ If that does not work, copy-paste the code and someone will point out why. This is not by far enough details, we can only guess what went wrong.

Avatar
Opusti
Best Answer

Did you make a custom module for that using inheritance? You should definitely not change the OpenERP code directly.

If you want to be helped, you need to provide at least some more details.

Avatar
Opusti
Avtor

I also make changes at addons/account/wizard/account_vat.py added 'gen_gaf' but not updated after service restart and updated account module. _columns = { 'based_on': fields.selection([('invoices', 'Invoices'), ('payments', 'Payments'),], 'Based on', required=True), 'chart_tax_id': fields.many2one('account.tax.code', 'Chart of Tax', help='Select Charts of Taxes', required=True, domain = [('parent_id','=', False)]), 'display_detail': fields.boolean('Display Detail'), 'gen_gaf': fields.boolean('Generate GAF'), }

Related Posts Odgovori Prikazi Aktivnost
1
dec. 22
3431
3
nov. 23
32626
4
jul. 25
4957
2
dec. 23
17771
6
apr. 18
21505