Skip to Content
Menu

Web View Conditionable

by
Odoo

10.31

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 182
Technical Name web_view_conditionable
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 182
Technical Name web_view_conditionable
LicenseLGPL-3

Web View Conditionable

Added conditional support for certain component operations:

  • Conditional support for create, edit, delete, and duplicate actions in the Form view
  • Conditional support for create and delete actions in the One2Many field List view

Table of contents

Usage

Form View:

Odoo by default supports:

        <form delete="false" edit="false" create="false">
    

With this module, you can:

        <form create="state!='sent'" edit="state!='sent'" delete="state=='draft'" duplicate="state=='draft'">
    

It works in any form view.

One2many List View:

Odoo by default supports:

        <tree delete="false" create="false">
    

With this module, you can:

        <tree create="state!='sent'" delete="state=='draft'">
    

It works in any tree view, so you can use it in One2many.

Author

  • Jim Lu (jimlu1633@gmail.com) If you have any questions, please contact this email address

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.