Saravanan666/pypi-org huggingface dataset:
Package: odoo-addon-web-widget-datepicker-fulloptions
This module enables full options in datepicker used in date fields :
- Choose today’s date in one click
- Two buttons enabled : choosing today and closing datepicker with selected dateClearing field doesn’t work because there is a left ‘todo’ in Odoo core code
here :https://github.com/odoo/odoo/blob/16.0/addons/web/static/lib/tempusdominus/tempusdominus.js#L1341Table of contentsBug TrackerCreditsAuthorsContributorsMaintainersBug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsGRAPContributorsGRAP:Quentin DUPONT <quentin.dupont@grap.coop>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-domain-editor-dialog
Since v11 introduced the new domain editor widget it’s not possible to edit
the selected records from the current domain.This module reintroduces that dialog to complement the current widget with the
powerful search engine of Odoo.Table of contentsUsageBug TrackerCreditsAuthorsContributorsMaintainersUsageIn any view with a domain field widget and model, but we’ll make the example
with a user filter:Enter debug mode.Go to theDebug menuand select the optionManage FiltersCreate a new onePut a name to the filter and select a model (e.g.: Contact)Click on the record selection button and a list dialog opens. There you can
either:Select individual records: those ids will be added to the domain.Set filters that will be applied to the domain and select all the records
to add it as a new filter.Set groups that will be converted into search filters, select all the
records and those unfolded groups will be set as filters to.You can still edit the filter with Odoo’s widget after that.Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsTecnativaContributorsTecnativaDavid VidalJairo LlopisCarlos RocaDarshan Patel <darshan.barcelona@gmail.com>Helly kapatel <helly.kapatel@initos.com>Carlos Lopez <celm1990@gmail.com>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-dropdown-dynamic
Dynamic dropdown widget that supports resolving options from backend of:fields.Charfields.Integerfields.SelectionNOTE:This widget is not intended toextendfields.Selection, but to
filter selection values. For fully-dynamic set of options, usefields.Charinstead.Table of contentsUsageBug TrackerCreditsAuthorsContributorsOther creditsMaintainersUsage@api.modeldefmethod_name(self):values=[('value_a','Title A'),]ifself.env.context.get('depending_on')==True:values+=[('value_b','Title B'),]returnvalues<fieldname="other_field"/><fieldname="char_field"widget="dynamic_dropdown"options="{'values':'method_name'}"context="{'depending_on': other_field}"/>Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsCorporateHubContributorsCorporateHubAlexey Pelykh <alexey.pelykh@corphub.eu>Therp BVRonald Portier <ronald@therp.nl>Thanakrit Pintana <thanakrit.p39@gmail.com>Trobz:Son Ho <sonho@trobz.com>Other creditsThe migration of this module from 15.0 to 16.0 was financially supported by CamptocampMaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-image-download
This module was written to extend the functionality of the image widget and
allows to download it.Table of contentsUsageBug TrackerCreditsAuthorsContributorsMaintainersUsageTo use this module, an example path is:Go to the sectionContacts.Click on a contact.Edit the contact.Click theDownloadbutton (betweenEditandClear).Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsTecnativaKaushal PrajapatiContributorsTecnativa:Flavio CorpaJairo LlopisPedro M. BaezaErnesto TejedaAlexandre DíazKaushal Prajapati <kbprajapati@live.com>Peerapong Supasompob <peerapong.supasompob@gmail.com>Manuel Regidor <manuel.regidor@sygel.es>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-json-graph
This module allows to load a line graph per ordered pair from an One2many or
Many2many field.Table of contentsUsageKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsOther creditsMaintainersUsageUse this widget by including:<field name="field_text_json" widget="json_graph" />For example:<field name="values_data" widget="json_graph"/>The JSON needs to be like:info = {
    "type": "line",
    "data": {"datasets": [], "labels": []},
    "options": {
        "scales": {
            "yAxes": [
                {
                    "ticks": {"beginAtZero": True, "stacked": False},
                    "scaleLabel": {"display": True, "labelString": "Quantity"},
                }
            ],
            "xAxes": [
                {
                    "scaleLabel": {"display": True, "labelString": "Date"},
                }
            ],
        },
        "elements": {"point": {"radius": 3}},
        "legend": {"labels": {"usePointStyle": True}},
        "tooltips": {"intersect": False, "axis": "xy", "mode": "index"},
    },
}
self.field_text_json = json.dumps(info)For example:plot_dataset = [1, 2, 3, 4, 3, 2]
labels = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"]
info = {
    "type": "line",
    "data": {"datasets": plot_dataset, "labels": labels},
    "options": {
        "scales": {
            "yAxes": [
                {
                    "ticks": {"beginAtZero": True, "stacked": False},
                    "scaleLabel": {"display": True, "labelString": "Quantity"},
                }
            ],
            "xAxes": [
                {
                    "scaleLabel": {"display": True, "labelString": "Date"},
                }
            ],
        },
        "elements": {"point": {"radius": 3}},
        "legend": {"labels": {"usePointStyle": True}},
        "tooltips": {"intersect": False, "axis": "xy", "mode": "index"},
    },
}
self.values_data = json.dumps(info)For more information, please seeChart Js Documentation <https://www.chartjs.org/docs/2.9.4/>.Known issues / RoadmapNoneBug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsVauxooContributorsFrancisco Luna <fluna@vauxoo.com>José Robles <josemanuel@vauxoo.com>Luis González <lgonzalez@vauxoo.com>Nhomar Hernández <nhomar@vauxoo.com>Other creditsVauxooMaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainers:This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-many2one-simple
This module adds a new widget to many2one fields that allows to link records
without any extra features (no autocomplete and no partial search).PreviewTable of contentsConfigurationAttributes:Options:UsageExample:Bug TrackerCreditsAuthorsContributorsMaintainersConfigurationAttributes:regex [String]: Defines the regex to test the search criteriacan_create [Boolean]: Allow create new recordscan_write [Boolean]: Allow edit the linked recordOptions:search [Dictionary]
* field: The field to use in the search process [Default is ‘id’]
* oper: The operator (like, ilike, etc…) [Default is ‘=’]no_create: Invalidates the ‘can_create’ flagno_write: Invalidates the ‘can_write’ flagno_open: Disables open the linked recordUsageYou need to declare the usage of the new widget as follows:<fieldname="xxx"widget="many2one_simple"options="...">If you have a database with demo data, you can test this widget following these instructions:Go to Contacts.Create or edit a record.Set “Industry” field (in Sales & Purchase tab).Only if you set the correct industry name (“Administrative” for example), it will be defined. Otherwise, it will try to create one with that name.Example:<fieldname="partner_id"widget="many2one_simple"regex="^1\d*"options="{&quot;search&quot;: { &quot;field&quot;: &quot;name&quot;, &quot;oper&quot;: &quot;ilike&quot; }}"/** Only allows search by id’s that starts with ‘1’ …Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsTecnativaContributorsTecnativa:Alexandre D. DíazForam Shah <foram.shah@initos.com>Thanakrit Pintana <thanakrit.p39@gmail.com>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainer:This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-mpld3-chart
This module adds the possibility to insert mpld3 charts into Odoo standard views.
This is an interactive D3js-based viewer which brings matplotlib graphics to the browser.If you want to see some samples of mpld3’s capabilities follow thislink.Table of contentsInstallationUsageBug TrackerCreditsAuthorsContributorsOther creditsMaintainersInstallationYou need to install the python mpld3 library:pip install mpld3UsageTo insert a mpld3 chart in a view proceed as follows:You should inherit from abstract class abstract.mpld3.parser:_name = 'res.partner'
_inherit = ['res.partner', 'abstract.mpld3.parser']Import the required libraries:import matplotlib.pyplot as pltDeclare a json computed field like this:mpld3_chart = fields.Json(
    string='Mpld3 Chart',
    compute='_compute_mpld3_chart',
)In its computed method do:def _compute_mpld3_chart(self):
    for rec in self:
        # Design your mpld3 figure:
        plt.scatter([1, 10], [5, 9])
        figure = plt.figure()
        rec.mpld3_chart = self.convert_figure_to_json(figure)In the view, add something like this wherever you want to display your
mpld3 chart:<div>
    <field name="mpld3_chart" widget="mpld3_chart" nolabel="1"/>
</div>Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsForgeFlowContributorsJordi Ballester Alomar <jordi.ballester@forgeflow.com>Christopher Ormaza <chris.ormaza@forgeflow.com>Other creditsThis module uses the librarympld3which is under the open-source BSD 3-clause “New” or “Revised” License.
Copyright (c) 2013, Jake VanderplasThis module uses the libraryBeautifulSoup 4which is under the open-source MIT License.
Copyright (c) 2014, Leonard RichardsonOdoo Community Association (OCA)MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainers:This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-numeric-step
This widget changes input number field and make it easier to increment the number thanks to 2 buttons (+ and -).
Use JS native logic for input number, so you can use the optionsmin,max,step,placeholder.Demo available atSettings > Users & Companies > Users > *Select One* > See ‘Credit Limit’ fieldTable of contentsUsageBug TrackerCreditsAuthorsContributorsMaintainersUsageIn your xml view, addwidget="numeric_step"This will add the 2 buttons “+” and “-” just next to the input field in edit mode.
Iteration step by default is 1.OptionalAdd an option to choose the step iteration and limits (min and max values).Example for an 0.25 step, min to -1 and max to 10 :<fieldname="sale_delay"widget="numeric_step"options="{'step': 0.25, 'min': -1, 'max': 10}"/>daysAvailable Optionsstep > Amount to increase/decrease (default: 1.0)min > Min. value allowed (default: no limit)max > Max. value allowed (default: no limit)auto_select > Select the content when the element get focus (default: False)placeholder > Define the placeholder text (default: None)ExamplesIteration with 0.25 step, min to -1 and max to 10.Start to increment with button, continue incrementing with scrolling mouse.Iteration with 10 step, max limit 15, placeholder with onchangeBug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsGRAPTecnativaContributorsGRAP:Quentin DUPONT <quentin.dupont@grap.coop>Tecnativa:Alexandre DíazCarlos RocaHelly kapatel <helly.kapatel@initos.com>Thanakrit Pintana <thanakrit.p39@gmail.com>Dhara Solanki <dhara.solanki@initos.com>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainers:This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-open-tab
This addon introduces a new widget.
When added to a field in a tree view, the field appears as a button which opens the record in a new tab.
When clicking on the line (but not on the button), the record is opened in the same window (as in native Odoo).Table of contentsUsageKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsMaintainersUsageEdit the tree view and add the widget as the first field, usually, we should use:
.. code-block:: xml<field name=”id” widget=”open_tab”/>You can open the record in a new tab when clicking with the mouse wheel on the external link icon.
On a usual click the record will be opened without changes (keeping the breadcrumbs).You can also add open-tab field in tree views by selecting “Add Open Tab Field” field in
the ir.model record. When you do this, the open-tab field is added right after the name
field in the tree if the field exists, otherwise at the beginning of the tree.Known issues / RoadmapAdd many2one fields support.Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsCreu BlancaContributorsEnric Tobella <etobella@creublanca.es>Raf Ven <raf.ven@dynapps.be>Dhara Solanki <dhara.solanki@initos.com>Quartile:Aung Ko Ko LinMaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-plotly-chart
This module add the possibility to insert Plotly charts into Odoo standard views.Plotlyis a Python interactive visualization
library built on top of d3.js and stack.gl, plotly.js is a high-level,
declarative charting library. plotly.js ships with over 40 chart types,
including scientific charts, 3D graphs, statistical charts, SVG maps, financial
charts, and more.If you want to see some samples of plotly’s capabilities follow thislink.Table of contentsInstallationUsageBug TrackerCreditsAuthorsContributorsOther creditsMaintainersInstallationYou need to install the python plotly library:pip3 install plotly==5.4.0UsageTo insert a Plotly chart in a view proceed as follows:Declare a text computed field like this:plotly_chart = fields.Text(
    string='Plotly Chart',
    compute='_compute_plotly_chart',
)In its computed method do:def _compute_plotly_chart(self):
    for rec in self:
        data = [{'x': [1, 2, 3], 'y': [2, 3, 4]}]
        rec.plotly_chart = plotly.offline.plot(data,
                                     include_plotlyjs=False,
                                     output_type='div')In the view, add something like this wherever you want to display your
plotly chart:<div>
    <field name="plotly_chart" widget="plotly_chart" nolabel="1"/>
</div>Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsLevelPrime srlContributorsRoberto Fichera <roberto.fichera@levelprime.com>Michele Zaccheddu <michele.zaccheddu@levelprime.com>Other creditsThis module uses the libraryPlotly.jswhich is under the open-source MIT License.
Copyright (c) 2019 Plotly, IncOdoo Community Association (OCA)MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainer:This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo-addon-web-widget-remote-measure
This module allows to input data from remote devices in your network. Currently, only
websockets devices are supported, but it can be extended for any protocol like
Webservices.Other modules can extend this one in order to use the widget.Table of contentsConfigurationUsageKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsMaintainersConfigurationTo configure your remote devices:Go toSettings > Technical > Devices > Remote devicesCreate a new one configuring the required info.If the devices has an special port, set it up in the host data: e.g.: 10.1.1.2:3210UsageThe remote device has to be in the users network so their web clients can reach them.In order to test a device you can:Go toSettings > Technical > Devices > Remote devicesIn the Kanban view you’ll wich devices can be reached as they’ll have a green dot in
their card.Go to one of those and clickEdit.You can start measuring from the remote device in theTest measurefield.On the technical side, you can use the widget in your ownFloat`. You’ll need to
provide an uom field so records that aren’t in that UoM don’t measure from the device.<fieldname="float_field"widget="remote_measure"options="{'remote_device_field': 'measure_device_id', 'uom_field': 'uom_id'}"/>Known issues / RoadmapCurrent support:Websockets connectionF501 protocol on continuous message stream.But this is a commonground to add:Other connection interfaces like Webservices APIsOther device protocols.Active device controls, la Tare, resets, etc.Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsTecnativaContributorsTecnativa:David VidalMaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainer:This module is part of theOCA/webproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.