Forms | Data API

by
Odoo
v 11.0 v 12.0 Third Party 1005
Download for v 12.0 Deploy on Odoo.sh Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 5700
Technical Name formio_data_api
LicenseLGPL-3
Websitehttps://www.novacode.nl
Versions 12.0 11.0 13.0 14.0 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 5700
Technical Name formio_data_api
LicenseLGPL-3
Websitehttps://www.novacode.nl
Versions 12.0 11.0 13.0 14.0 15.0 16.0 17.0

Forms | Data API

Python API for Forms data (builder, form/submission)

Visit the online Demo (Odoo Community v13)

Click the Live Preview button in the top.

Users (email / password)

  • demo / demo
  • portal / portal

Releases

0.8

  • Pass determined (lang) date_format and time_format to the Form object contructor.

0.7

  • New ETL API: OdooUser
    ETL a field from current user into the Form.
    (could also be read as the logged-in user)
  • Change ETL API: Odoo
    This now ETL a field from the Resource model object into the Form, also when Form has state = DRAFT.
  • Change ETL API: OdooModel
    ETL a field from the linked Resource model object into the Form.
    (!!) This is backwards incompatible and requires to change existing Form Builders to: OdooModel__model

0.6

  • Fix/change due to recent change in the Python formiodata library (version: 0.3.0)
    Change (formiodata) Builder object attr: form_components became input_components

0.5

  • Remove silly model determination by initial_res_model_id. The current model is always stored and present in res_model_id.

0.4

  • New API feature OdooModel
    ETL the Odoo model name into Forms (API Property Name: OdooModel).

0.3

  • Change ETL Odoo field-data (API): field delimter from "." to "__" (2 underscores).
    - A dot "." results in undesired submission data, due to the formio Javascript library/API. - A dash is allowed, however causing issues with the ETL module (formio_etl).

0.2

  • New API features Odoo and OdooRF
    ETL Odoo field-data into Forms.

0.1

  • Initial version

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Unable to install
by
Miguel Paz
on 5/7/20, 4:40 PM

I am running Odoo V12 and am unable to install the API. I've used your FORM.IO module for some time and am excited to see you have added printing for the forms. I am unable to install the application as I keep getting the following error: Unable to install module "formio_data_api" because an external dependency is not met: No module named formiodata

Re: Unable to install
by
Bob Leers
on 5/8/20, 3:18 AM Author

Hi Miguel, Nice to read you use my Form.io module. You need Python package to be installed on the server (OS). pip3 install formio-data. However... Currently there's a sever bug in version 11 of the module "formio_report_qweb" (Form.io Reports Generator). The QWeb reports can't be generated due to some weird ORM or caching issue. I spend some time to analyse, but I didn't find the cause yet. I don't know whether this can be solved. The Reports Generator works with Odoo version 12 and 13 tough.


Internal Server Error
by
Miguel Paz
on 5/8/20, 10:37 AM

Good morning Bob, thank you for your response. I have added the package to the installation and was successful in applying the module. THANK YOU for your guidance and response. I have now been able to install your API and PRINT REPORTS module. But now, I am receiving the following error: INTERNAL SERVER ERROR - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. I am using ODOO Version 12. Is this error part of what is being experienced in V11? I have updated all my FORM.IO modules to ensure an update of the module is not the issue and gone ahead and updated ODOO as well. I am creating a backup of my current server and will be uninstalling all FORM.IO modules and reinstalling to see if this makes a difference, I may have customized something which is causing the error. Again THANK YOU SO MUCH for your efforts creating these modules. They have changed the way we interact with ODOO and create a better overall experience.

Re: Internal Server Error
by
Bob Leers
on 5/8/20, 11:08 AM Author

Hi Miguel, Thanks for your kind words! Did you restarted the Odoo server, after installing/upgrading modules? Maybe you could send me a mail, so we can discuss at ease (bob@novacode.nl).