JS code on form load

by
Odoo

425.53

v 14.0 Third Party 17
Lines of code 25
Technical Name js_on_form_load
LicenseOPL-1
Also available in version v 8.0 v 10.0 v 13.0 v 12.0 v 11.0 v 9.0
You bought this module and need support? Click here!
Lines of code 25
Technical Name js_on_form_load
LicenseOPL-1
Also available in version v 8.0 v 10.0 v 13.0 v 12.0 v 11.0 v 9.0
!!! THIS IS AN EXPLANATORY EXAMPLE !!!
Do you think this app is cool? Wow! 350 euros, 17 purchases! Right?
No! It's almost fake!) I've really sold this app 17 times, but for absolutely another price - for 10 euros each.
Then, I "decided" to make some dirty marketing - I just greatly increased the price, and voila! my app become a "cool"!)
So, be careful when choosing an app to buy, analyze its features, read description, see demo and make tests if available.
P.S. If you want to buy this app (for 10 euros) - just email me, I will temporary reduce the price for your purchase transaction.


Support email (UTC+2): avs3.ua@gmail.com

This simple module allow to execute custom JavaScript code on certain Odoo model's form onLoad event.

You can use ordinary JS code. And also you have direct access to the Odoo's JS variables, such as 'data', 'fields', 'fieldWidgets', etc. So, you can easily change the CSS-styles of these variables (eg color), their visibility, and many other properties.

Also you can create more than one custom JS handler for more than one Odoo model.

You can use this module as a separate Odoo module. Otherwise you can use its functionality inside another Odoo module. In this case, you should copy its source files and also you should replace the word "js_on_form_load" by "your_module_name" in those files.

This module don't create any settings forms or settings parameters.


Tags: javascript onload, javascript on form load, javascript on load form, javascript form on load, javascript form onload, js onload, js on form load, js on load form, js form on load, js form onload.
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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.
There are no ratings yet!
request about implementing javascript open.windos
by
Nexapp S.r.l.
on 12/17/20, 12:54 PM

Hi 


i'm using odoo in a intranet, only for trusted user with ms windows computer

i want to allow users to open shared folder, always defined, using mswindows  explorer.


the requirement is,  in the a PROJECT module, i don't need that the open document must open  a specific folder (connected to the project)

coud you help me 

 thaks

Re: request about implementing javascript open.windos
by
Andrey Sinyanskiy
on 12/17/20, 2:05 PM Author

Hi,
theoretically that is possible, but sorry, I don't provide a development or consulting service (due to lack of free time) - only support for my apps.
Regards