Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Overwriting a method in OCA module.

by
Opener B.V., Stefan Rijnhart
- 17/09/2015 14:38:04
On 16-09-15 21:22, Nhomar Hernandez wrote:
<blockquote cite="mid:CAKtu5Y7J6vm05QTSsCzWxbK=ksptf8yWYF=-BD4UmLUO-Z=DBg@mail.gmail.com" type="cite">

On Wed, Sep 16, 2015 at 7:53 AM, Kitti U. <kittiu@ecosoft.co.th> wrote:
(i.e., account_voucher_monkeypatch)

no **_monkeypatch on the name, a name that mention the monkeypatched method is more ellegant.

I think it should be in a "Good Practice technique section".


+1

-- 
Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

mail: stefan@opener.am
tel: +31 (0) 20 3090 139
web: https://opener.am

Reference