Saravanan666/pypi-org huggingface dataset:
Package: odoo10-addon-cms-delete-content
CMS delete contentBasic features for deleting content via frontend.Featuresregister your own custom delete confirmation view per-modelusecms_status_messageto show confirmation message for deletiongeneric template for asking delete confirmationnew fields and parameters onwebsite.published.mixinto handle
delete links and redirectsUsageDelete button and behaviorTo add a delete button:<aclass="btn btn-danger cms_delete_confirm"t-att-href="object.cms_delete_confirm_url">Delete</a>When you click on a confirmation dialog pops up.If you hitcancelthe popup is closed. If you hit submit the item is
deleted and you get redirected to your model’scms_after_delete_url.
By default is/.CustomizationCustom per-model delete messgeclassMyModel(models.Model):_inherit="my.model"@api.multidefmsg_content_delete_confirm(self):self.ensure_one()return_('Are you sure you want to delete "%s"?.')%self.nameCustom “after delete URL”When you are viewing a content and you delete it you want to be
redirected to some other place.By default you get redirected to the root of the website.To change this behavior just override the attribute in your model
declaration:classMyModel(models.Model):_inherit="my.model"cms_after_delete_url='/foo'Note: if you want to customize it on demand for particular pages, or you
are deleting an item from another page (like a management page) you can
pass?redirect=in the url, like:<aclass="btn btn-danger cms_delete_confirm"t-attf-href="#{object.cms_delete_confirm_url}?redirect=">Delete</a>Custom global delete confirm message appeareance<templateid="delete_confirm"inherit_id="cms_delete_content.delete_confirm"><xpathexpr="//h4[@id='delete_confirm']"position="replace"><h1t-esc="main_object.msg_content_delete_confirm()">Iwantitbigger!</h1></xpath></template>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 smashing it by providing a
detailed and welcomed feedback.CreditsContributorsSimone Orsisimone.orsi@camptocamp.comMaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-cms-delete-content-example
Cms Delete Content ExampleThis is an example for the CMS Delete Content addon.UsageGo on the website app of Odoo. Then you can reach the page
/list-delete-content-example. This page show you demo records that you
can safely delete with the delete button.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 smash it by providing detailed and welcomed feedback.CreditsImagesOdoo Community Association:Icon.ContributorsSimone Orsi <simone.orsi@camptocamp.com>Rémy Taymans <remytaymans@gmail.com>MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-cms-form
CMS FormBasic website contents form framework. Allows to define front-end forms for every models in a simple way.If you are tired of re-defining every time an edit form or a search form for your odoo website,
this is the module you are looking for.Featuresautomatic form generation (create, write, search, wizards)automatic route generation (create, write, search, wizards)automatic machinery based on fields’ type:widget renderingfield value load (from existing instance or from request)field value extraction (from request)field value write (to existing instance)automatic field grouping in fieldsetshighly customizableworks with every odoo modelworks also without any modelUsageCheck full documentation insidedocfolder.Known issues / Roadmapadd more tests, especially per each widget and type of fieldprovide better widgets for image and file fields in generalo2m fields: to be tested at allmove widgets to abstract models toosearch form: generate default search domain in a clever wayadd easy way to switch from horizontal to vertical formprovide more examplesx2x fields: allow sub-items creationhandle api onchangessupport python expressions into master/slave rulesBug 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 smashing it by providing a detailed and welcomed feedback.CreditsSponsorFluxdock.io.ContributorsSimone Orsi <simone.orsi@camptocamp.com>MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-cms-form-example
CMS FormBasic content type form example.UsageGo on the website app of Odoo. Then you can reach the following pages:/partners: shows you a nice form to search partners/partners/add: shows you a nice form to add a new partner/partners/$ID/edit: shows you a nice form to edit partner with matching $IDPick up a partner form /partners page to see details for this partner.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 smashing it by providing a detailed and welcomed feedback.CreditsImagesOdoo Community Association:Icon.ContributorsSimone Orsi <simone.orsi@camptocamp.com>MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-cms-info
CMS InfoProvide basic information for website records / models viawebsite.published.mixin.
This module is meant to be used as a base to build your own CMS.New attributescms_create_url: lead to create view. By default/cms/create/my.modelcms_search_url: lead to search view. By default/cms/search/my.modelcms_edit_url(computed field): lead to edit view. By default/cms/edit/my.model/model_idNoteNo routing provided.
This attributes provide only basic information on contents’ URLs.
If you usecms_formdefault routes are handled automatically.
If not, is up to you to provide your own routes to handle them.Permission and extra informationrecord.cms_is_owner(): current user is the owner of the record?record.cms_can_edit(): current user can edit this record?record.cms_can_publish(): current user can publish this record?record.cms_can_delete(): current user can delete this record?model.cms_can_create(): current user can create a new record?Info all in oneWhen you build CMS UIs you need all those info at once.
This module provides also an helper methodcms_info()that gives you back a dictionary containing:is_owner: True/False,can_edit: True/False,can_create: True/False,can_publish: True/False,can_delete: True/False,create_urledit_urldelete_urlBug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.CreditsContributorsSimone Orsi <simone.orsi@camptocamp.com>MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-cms-status-message
CMS status messageA “status message” is an important message that you want to show to
users.For instance: a user submit a form or does a specific action and you
want to report the status of this action like “your profile has been
updated” or “Your upgrade has been successful.”.This module allows to easily display this kind of messages to your
users.Messages are displayed using Twitter bootstrap alerts.You can add several messages: they will be displayed one after another.UsagePython codeSet a message:msg=_('My important message.')ifrequest.website:request.website.add_status_message(msg)By default the message type isinfo. The title (the label at the
beginning of the message) matches the message type:‘info’: ‘Info’‘success’: ‘Success’‘danger’: ‘Error’‘warning’: ‘Warning’You can change message parameters:msg=_('Watch out!')ifrequest.website:request.website.add_status_message(msg,type_='warning',title='Oh no')Messages will be displayed like this:Javascript codeDependencies:varmsg_tool=require('cms_status_message.tool');varcore=require('web.core');var_t=core._t;Inject a custom message on the fly:msg={'msg':_t('Item unpublished.'),'title':_t('Warning'),'type':'warning'}msg_tool.render_messages(msg).then(function(html){// wipe existing$('.status_message').remove();// inject new$(html).hide().prependTo('#wrap').fadeIn('slow');});Add a status message to the session, useful if you want to show the
message only after a redirect:varmsg=_t('Contratulations! You made it!.');varoptions={'title':_('My title'),'dismissible':false};msg_tool.add_message(msg,options);Customize appereanceBy default the alert box is added on top of<main />content. If you
want to customize this behavior just override or disablecms_status_message.add_status_messagetemplate.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 smashing it by providing a
detailed and welcomed feedback.CreditsContributorsSimone Orsisimone.orsi@camptocamp.comMaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-cms-status-message-example
Cms Status Message ExampleExample module on what you can do with cms_status_message module.UsageJust go to the following url to see it in action :./status-msg/testBug 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 smash it by providing detailed and welcomed feedback.CreditsImagesOdoo Community Association:Icon.ContributorsThierry Ducrestthierry.ducrest@camptocamp.comMaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-component
ComponentsThis module implements a component system and is a base block for the Connector
Framework. It can be used without using the full Connector though.Documentation:http://odoo-connector.com/InstallationInstallcomponentConfigurationThe module does nothing by itself and has no configuration.UsageAs a developer, you have access to a component system. You can find the
documentation in the code or onhttp://odoo-connector.comIn a nutshell, you can create components:from odoo.addons.component.core import Component

class MagentoPartnerAdapter(Component):
    _name = 'magento.partner.adapter'
    _inherit = 'magento.adapter'

    _usage = 'backend.adapter'
    _collection = 'magento.backend'
    _apply_on = ['res.partner']And later, find the component you need at runtime (dynamic dispatch at
component level):def run(self, external_id):
    backend_adapter = self.component(usage='backend.adapter')
    external_data = backend_adapter.read(external_id)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 smash it by providing detailed and welcomed feedback.CreditsImagesOdoo Community Association:Icon.ContributorsGuewen Baconnier <guewen.baconnier@camptocamp.com>Do not contact contributors directly about support or help with technical issues.MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-component-event
Components - EventsThis module implements an event system (Observer pattern) and is a
base block for the Connector Framework. It can be used without
using the full Connector though. It is built upon thecomponentmodule.Documentation:http://odoo-connector.com/InstallationInstallcomponent_eventConfigurationThe module does nothing by itself and has no configuration.UsageAs a developer, you have access to a events system. You can find the
documentation in the code or onhttp://odoo-connector.comIn a nutshell, you can create trigger events:class Base(models.AbstractModel):
    _inherit = 'base'

    @api.model
    def create(self, vals):
        record = super(Base, self).create(vals)
        self._event('on_record_create').notify(record, fields=vals.keys())
        return recordAnd subscribe listeners to the events:from odoo.addons.component.core import Component
from odoo.addons.component_event import skip_if

class MagentoListener(Component):
    _name = 'magento.event.listener'
    _inherit = 'base.connector.listener'

    @skip_if(lambda self, record, **kwargs: self.no_connector_export(record))
    def on_record_create(self, record, fields=None):
        """ Called when a record is created """
        record.with_delay().export_record(fields=fields)This module triggers 3 events:on_record_create(record, fields=None)on_record_write(record, fields=None)on_record_unlink(record)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 smash it by providing detailed and welcomed feedback.CreditsImagesOdoo Community Association:Icon.ContributorsGuewen Baconnier <guewen.baconnier@camptocamp.com>Do not contact contributors directly about support or help with technical issues.MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.
Package: odoo10-addon-configuration-helper
Configuration HelperThis module is intended for developer only. It does nothing used alone.It helps to createconfig.settingsby providing an abstract Class.This class:creates automatically related fields in ‘whatiwant.config.settings’
using those defined in ‘res.company’: it avoids duplicated field definitions.company_id field with default value is createdonchange_company_id is defined to update all related fieldssupported fields: char, text, integer, float, datetime, date, boolean, m2oHow to usefrom.companyimportResCompanyclassWhatiwantClassSettings(orm.TransientModel):_inherit=['res.config.settings','abstract.config.settings']_name='whatiwant.config.settings'# fields must be defined in ResCompany class# related fields are automatically generated from previous definitions_companyObject=ResCompany# all prefixed field with _prefix in res.company, will be available in 'whatiwant.config.settings' model_prefix='prefixyouchoose_'Roadmapsupport (or check support) for these field types : o2m, m2m, reference, property, selectionautomatically generate a default view for ‘whatiwant.config.settings’ (in –debug ?)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 smashing it by providing a detailed and welcomed feedback.ContributorsYannick Vaucher <yannick.vaucher@camptocamp.com>David BEAL <david.beal@akretion.com>Sébastien BEAU <sebastien.beau@akretion.com>Angel Moya <angel.moya@pesol.es>
Package: odoo10-addon-connector
ConnectorThis is a framework designed to build connectors with external systems,
usually calledBackendsin the documentation.Documentation:http://odoo-connector.comIt features:A jobs queueIn which the connectors can push functions (synchronization tasks)
to be executed later.An event patternThe connectors can subscribe listener functions on the events,
executed when the events are fired.Connector base classesCalledConnectorUnit.Include base classes for the use in connectors, ready to be extended:Synchronizer: flow of an import or exportMapper: transform a record according to mapping rulesBinder: link external IDs with local IDSBackendAdapter: adapter interface for the exchanges with the backendButConnectorUnitcan be extended to accomplish any taskA multi-backend supportEachConnectorUnitcan be registered amongst a backend type (eg.
Magento) and a backend version (allow to have a differentMapperfor each backend’s version for instance)It is used for example used to connectMagentoandPrestashop, but
also used with Solr, CMIS, …Configuration and usageThis module does nothing on its own.  It is a ground for developing
advanced connector modules. For further information, please go on:http://odoo-connector.comBug 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 smashing it by providing a detailed and welcomed feedbackhere.CreditsContributorsRead thecontributors listMaintainerThis 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.To contribute to this module, please visithttp://odoo-community.org.
Package: odoo10-addon-connector-algolia
Base module to synchronize Algolia search engine with Odoo.Depends onconnector_search_engine.Table of contentsConfigurationChangelogBug TrackerCreditsAuthorsContributorsMaintainersConfigurationYou have to configure your backend (api, secret) and index in the menu“Connector > Search Engine Backend”Changelog12.0.x.y.z (YYYY-MM-DD)TODOBug 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.CreditsAuthorsAkretionACSONE SA/NVCamptocampContributorsSébastien BEAU <sebastien.beau@akretion.com>Laurent Mignon <laurent.mignon@acsone.eu>Simone Orsi <simone.orsi@camptocamp.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/search-engineproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo10-addon-connector-ecommerce
Connector for E-CommerceThis modules aims to be a common layer for the connectors dealing with
e-commerce.It sits on top of theconnectorframework and is used by the
e-commerce connectors, likemagentoerpconnectorprestashoperpconnect.That’s a technical module, which include amongst other things:EventsOn which the connectors can subscribe listeners.
The events it adds are:on_invoice_paid(self, record)on_invoice_validated(self, record)on_invoice_validated(self, record)on_picking_out_done(self, record, method)where method is
‘partial’ or ‘complete’on_tracking_number_added(self, record)on_product_price_changed(self, record)ComponentsA piece of code which allows to play all theonchangesrequired
when we create a sales order.Another one which allows to add special lines in imported sales orders
such as Shipping fees, Cash on Delivery or Discounts.Data ModelAdd structures shared for e-commerce connectorsInstallationThis module is a dependency for more advanced connectors. It does
nothing on its own and there is no reason to install it alone.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 smashing it by providing a detailed and welcomed feedbackhere.CreditsContributorsSeecontributors’ listMaintainerThis 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.To contribute to this module, please visithttp://odoo-community.org.
Package: odoo10-addon-connector-elasticsearch
This addon provides the bases to implement addons to export information toElasticsearchindexes.Table of contentsChangelogBug TrackerCreditsAuthorsContributorsMaintainersChangelog10.0.?.?.? (unreleased)connector_elasticsearch: Makes the config on index required only if the
index is linked to an elastisearch backend. This change allows the usage
of algolia search engine at the same time as elasticsearch.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 smashing it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsACSONE SA/NVContributorsLaurent Corron <laurentcorron@gmail.com>Laurent Mignon <laurent.mignon@acsone.eu>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/search-engineproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo10-addon-connector-lengow
Lengow ConnectorThis module allows you to connect your Odoo to the Lengow platform(www.lengow.com).
It is build on top of the connector framework. It is is structured so that
it can be extended or modified easily from separate addons.UsageFeaturesDefine catalogue, link your products and export them to LengowImport your orders from all marketplaces supported by LengowInform the marketplace once you deliver the goodsExport the tracking number to the marketplaceSupport the delivery by MarketPlace (Amazon Full Fillment for example). More Details below.Delivery By MarketPlace (HowTO)Install the OCA module stock_auto_move fromhttps://github.com/OCA/stock-logistics-workflowDefine a route using automatic moveSet the route on the marketplaceBug 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 smashing it by providing a detailed and welcomed feedback.CreditsImagesOdoo Community Association:Icon.ContributorsCédric Pigeon <cedric.pigeon@acsone.eu>MaintainerThis 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.To contribute to this module, please visithttps://odoo-community.org.