Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: OpenChatter for one2many

by
Camptocamp SA, Simone Orsi
- 19/09/2016 08:42:36
Hi,

AFAIK - as Graeme pointed out - looks like the current solution is to code your msg handler on create/write. 

Here is an example on how to get that for sale order lines (from a model that has  a m2o relation with the sale order line, but you can adapt it): http://pastebin.com/aNAurism

HTH,
S.



On Sun, Sep 18, 2016 at 8:24 AM, Quentin THEURET <odoo@kerpeo.com> wrote:
Hi contributors,

I need to log modifications on a purchase order line (quantity, unit 
price) in the OpenChatter of the linked purchase order. I didn't find a 
way or a module to do that.

Is there a way or a module that allows me to define a _track_visibility 
on a purchase.order.line field (or in the _trace dictionary) and put 
theses modifications on the linked purchase.order record ?

If not, I'll try to create a module to do that.

Regards,

-- 
Quentin THEURET
https://twitter.com/qtheuret

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


Reference