Saravanan666/pypi-org huggingface dataset:
Package: odoo11-addon-cms-account-form
CMS account formReplace portal user’s account form
with a specificCMS form.Featuresfull control on fields and their validationfull control on form behaviorfull test coverageAdditionally:validate emailif email is changed:update user’s login (yes, Odoo does that w/out notifying the user!)force logoutfor reset email password to validate new emailIn a basic Odoo installation the form will look like:Known issues / RoadmapWishlistsend notification to initial email address
to make sure the user is aware of the updateuse a 2 steps verification token and avoid resetting passwordshow a nice confirmation dialog before submittingFull commentshttps://github.com/OCA/website-cms/pull/38.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 Orsi <simone.orsi@camptocamp.com>FundersThe development of this module has been financially supported by:Fluxdock.ioMaintainerThis 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: odoo11-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 smash it
by providing 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: odoo11-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: odoo11-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 rulesthe ajax UI blocking/spinner could be more beautifulBug 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: odoo11-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/partnersAjax: shows you the above form but with AJAX enabled/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 $IDAbove mentioned forms are available also in fieldset and tabbed mode:/partners/fieldset/add/partners/tabbed/addPick 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: odoo11-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: odoo11-addon-cms-notification
CMS notificationFeaturesManage notifications in your CMS. Provides:menu item for settingsmenu item for notifications listingflaghas_unread_notifon user to highlight when the user has an unread notificationflagcms_typeon message subtype to enable/disable visibility in CMS features (notifications listing for instance)Depends onmail_digest [WIP PR]andcms_form [WIP PR].Default appearanceCustomizationYou can customize the form as specified incms_formdocs.cms_notificationextends the form behavior allowing you to just
provide the fields you need and a mapping between fields and messages’
subtypes.classCMSNotificationPanel(models.AbstractModel):_inherit='cms.notification.panel.form'enable_my_type=fields.Boolean(string='Enable my type notifications',help=("If active, you will receive notifications ""about this type."))enable_my_type2=fields.Boolean(string='Enable my type 2 notifications',help=("If active, you will receive notifications ""about this type 2."))@propertydef_form_subtype_fields(self):res=super()._form_subtype_fieldsres.update({'enable_my_type':'module.mt_mytype','enable_my_type2':'module.mt_mytype2',})returnresUsageTo bring the user to her/his panel:<aclass="btn btn-default"href="/my/settings/notifications">Notifications</a>To bring the user to her/his notifications:<aclass="btn btn-default"href="/my/notifications">Notification settings</a>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.comFundersThe development of this module has been financially supported by:Fluxdock.io.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: odoo11-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: odoo11-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: odoo11-addon-cms-toolbar
CMS ToolbarRender management actions for CMS contents.Usage<tt-raw="main_object.cms_render_toolbar()"/>You can override all the params. For instance if you don’t want the popover:<tt-raw="main_object.cms_render_toolbar(show_popover=False)"/>Full list of paramsDefault params fromcms_info:is_ownercan_editcan_createcan_publishcan_deletecreate_urledit_urldelete_urlExtra params fromcms_toolbar:show_createshow_editshow_deleteshow_publishshow_popoverpopover_content_templatemain_objectAvailable actions/buttonscreateeditdeletepublish/unpublishAlso, there’s a popover feature to remind users to publish contents.Below you see the default rendering fromcms_toolbar_example:Bug 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: odoo11-addon-cms-toolbar-example
CMS Toolbar ExampleThis is an example for the CMS toolbar addon.UsageOn your odoo website go to/cms-toolbar-example.
By default the last demo record is showed.
You can delete/publish/unpublish.editandcreatebuttons are faked since there’s no form to edit demo 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.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: odoo11-addon-company-country
This module allows to set a country to the main company before theaccountmodule is installed, so the hook of that module installs the correctl10n_***module.This is useful because, if the company isn’t already set correctly when theaccountmodule is installed, the generic accounting chart will be installed
(l10n_generic_coa), which may be incorrect depending on your company’s
country.Table of contentsInstallationConfigurationUsageBug TrackerCreditsAuthorsContributorsOther creditsMaintainersInstallationTo install this module, you need to:Add it as dependency from your main module.ConfigurationTo configure this module, you need to:Set the environment variableCOUNTRYusing a two-letter ISO 3166 code.UsageTo use this module, you need to:Just start the server installing your main module.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.CreditsAuthorsVauxooContributorsMoisés López <moylop260@vauxoo.com>Luis González <lgonzalez@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/server-toolsproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.
Package: odoo11-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)Known issues / RoadmapBug 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: odoo11-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)Known issues / RoadmapBug 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: odoo11-addon-configuration-helper
This 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, m2oTable of contentsUsageKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsMaintainersUsagefrom.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_'Known issues / 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 to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsAkretionContributorsYannick Vaucher <yannick.vaucher@camptocamp.com>David BEAL <david.beal@akretion.com>Sébastien BEAU <sebastien.beau@akretion.com>Angel Moya <angel.moya@pesol.es>Akim Juillerat <akim.juillerat@camptocamp.com>Patrick Tombez <patrick.tombez@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/server-toolsproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.