Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Well practise on rewrite action domain
by
Open Source Integrators, Sandip Mangukiya
Hi Michael,
If you want to different actions module vise then define each action and call them separately (define according view if required).
Because with existing action(s) either you can modified it or simply overwrite them.
I hope this helps.
Kind Regards,
Sandip
On Fri, Jan 13, 2017 at 2:08 AM, Michael Delvoye <mdelvoye@misyl-services.com> wrote:
Hi every bodyi need to rewrite action sale order like this in one module :<record id="sale.action_orders" model="ir.actions.act_window">
<field name="view_id" ref="sale.view_order_tree"/>
<field name="domain">[
('state', 'not in', ('draft', 'sent', 'cancel')),
('x_type_contract','=','1')
]
</field>
</record>Bu in an other module i need to exclude 'state' '=' 'archived')I don't know the best practise to do that.Can you orient me. Of course I . can centralize it in one module but i would prefer to keep each module and to "cumulate" the domain.Thanks for help--Michael DelvoyeDirecteur TechniqueMISYL SERVICES______________________________
_________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Reference
-
Well practise on rewrite action domain
byMISYL SERVICES., Michael Delvoye-
Re: Well practise on rewrite action domain
byMISYL SERVICES., Michael Delvoye -
Re: Well practise on rewrite action domain
byMISYL SERVICES., Michael Delvoye -
Re: Well practise on rewrite action domain
byMISYL SERVICES., Michael Delvoye -
Re: Well practise on rewrite action domain
byWilldooIT, Richard deMeester -
Re: Well practise on rewrite action domain
byMISYL SERVICES., Michael Delvoye -
Re: Well practise on rewrite action domain
byWeb-veistämö Oy/Avoin.Systems, Miku Laitinen. -
Re: Well practise on rewrite action domain
byOpen Architects Consulting, Houssine BAKKALI -
Re: Well practise on rewrite action domain
byMISYL SERVICES., Michael Delvoye -
Re: Well practise on rewrite action domain
byOpen Architects Consulting, Houssine BAKKALI
-