Contributors mailing list archives


Re: Well practise on rewrite action domain

Open Source Integrators, Sandip Mangukiya
- 13/01/2017 07:53:03
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,

<img alt="Ursa Information Systems" src="" style="width:141px;min-height:125px">Sandip Mangukiya : Odoo Software Developer

Ursa Information Systems
1706 Plum Lane, Suite 127
Redlands, California, 92374

Office:     1-855-URSA ERP x 704
              1-855-877 2377 x 704

On Fri, Jan 13, 2017 at 2:08 AM, Michael Delvoye <> wrote:
Hi every body
i 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')),

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 Delvoye
Directeur Technique

Post to: