Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: New module derived from Odoo CE licensing/credits question
by
Holger Brunn
> The code and templates I removed are for product.attribute.category for > product.attribute to group them. I think I cannot (can I?) disable the code > so the additional object/table/column will be there. However I would like > to disable the templates relating to these so they do not confuse the user. > According to a Google search it can be done in this way: you can rewrite any qweb template with inheritance before it's evaluated, so probably you can have some xpath and change the t-attributes, but > <record id="full_external_id_of_the_template" model="ir.ui.view"> > <field name="active" eval="False"/> > </record> this seems much cleaner to me if it's the intention of this module to undo something the other module does entirely. > If I uninstall my module will the active statu return to its previous state? > Should I use anything like that or just document in the readme that the > product.attribute.category is useless while using custom.info? it doesn't, but you can add an uninstall_hook to your module that sets the active flag again. -- Your partner for the hard Odoo problems https://hunki-enterprises.com
Reference
-
New module derived from Odoo CE licensing/credits question
byData Dance s.r.o., Radovan Skolnik-
Re: New module derived from Odoo CE licensing/credits question
byMoaHub, Graeme Gellatly -
Re: New module derived from Odoo CE licensing/credits question
byInitOS GmbH, Frederik Kramer -
Re: New module derived from Odoo CE licensing/credits question
byData Dance s.r.o., Radovan Skolnik -
Re: New module derived from Odoo CE licensing/credits question
byInitOS GmbH, Frederik Kramer -
Re: New module derived from Odoo CE licensing/credits question
byHolger Brunn -
Re: New module derived from Odoo CE licensing/credits question
byData Dance s.r.o., Radovan Skolnik -
Re: New module derived from Odoo CE licensing/credits question
byHolger Brunn
-