Auto Refresh Coupons

sale_coupon_auto_refresh
REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/15.0/sale_coupon_auto_refresh
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_coupon
    - coupon
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (6)

New fields (1)
  • auto_refresh_coupon Boolean
    help='Autorefresh coupon lines in the backorder' string='Auto Refresh Coupons'
Public methods (0)

No public methods.

New fields (1)
  • auto_refresh_coupon Boolean
    readonly=False related='company_id.auto_refresh_coupon'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • apply_coupon(self, order, coupon_code)
    Avoid discarding the coupon before the end of the process
  • process_coupon(self)

New fields (1)
  • auto_refresh_coupon_triggers_data Binary
    attachment=False compute='_compute_auto_refresh_coupon_triggers_data' store=False
Public methods (0)

No public methods.

New fields (1)
  • auto_refresh_coupon Boolean
    related='company_id.auto_refresh_coupon'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/14.0/sale_coupon_auto_refresh
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexandre Fayolle, david, OCA Transbot, oca-travis, Weblate, OCA-git-bot, David, SilvioC2C, Silvio Gregorini
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_coupon
    - coupon
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (6)

New fields (1)
  • auto_refresh_coupon Boolean
    help='Autorefresh coupon lines in the backorder' string='Auto Refresh Coupons'
Public methods (0)

No public methods.

New fields (1)
  • auto_refresh_coupon Boolean
    readonly=False related='company_id.auto_refresh_coupon'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • apply_coupon(self, order, coupon_code)
    Avoid discarding the coupon before the end of the process
  • process_coupon(self)

New fields (1)
  • auto_refresh_coupon_triggers_data Binary
    attachment=False compute='_compute_auto_refresh_coupon_triggers_data' store=False
Public methods (0)

No public methods.

New fields (1)
  • auto_refresh_coupon Boolean
    related='company_id.auto_refresh_coupon'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/13.0/sale_coupon_auto_refresh
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYWebsite
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSdavid, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_coupon
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (6)

New fields (1)
  • auto_refresh_coupon Boolean
    help='Autorefresh coupon lines in the backorder' string='Auto Refresh Coupons'
Public methods (0)

No public methods.

New fields (1)
  • auto_refresh_coupon Boolean
    readonly=False related='company_id.auto_refresh_coupon'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • apply_coupon(self, order, coupon_code)
    Avoid discarding the coupon before the end of the process
  • process_coupon(self)

New fields (1)
  • auto_refresh_coupon_triggers_data Binary
    attachment=False compute='_compute_auto_refresh_coupon_triggers_data' store=False
Public methods (0)

No public methods.

New fields (1)
  • auto_refresh_coupon Boolean
    related='company_id.auto_refresh_coupon'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)