I want to make a change to a python function in odoo-server/addons/website_sale/models/payment.py:
def form_feedback(self, cr, uid, data, acquirer_name, context=None):
** MY CODE **
How can I replace the function with my code in a custom module without changing in Odoo code itself (upgrade safe)?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/22/16, 9:33 AM|
|Seen: 294 times|
|Last updated: 2/22/16, 9:36 AM|