Auto Refresh Coupons

sale_loyalty_auto_refresh
REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/16.0/sale_loyalty_auto_refresh
VERSION
VERSION 1.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
COMMITTERSLaurent Mignon (ACSONE), Weblate, OCA-git-bot, oca-ci, chien
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_loyalty
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - loyalty
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 (7)

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 (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 (0)

No new fields.

Public methods (1)
  • action_apply(self)
    Avoid discarding the coupon before the end of the process

New fields (0)

No new fields.

Public methods (1)
  • action_apply(self)
    Avoid discarding the coupon before the end of the process

New fields (1)
  • auto_refresh_coupon Boolean
    related='company_id.auto_refresh_coupon'
Public methods (4)
  • action_apply_rewards(self)
  • action_open_reward_wizard(self)
  • 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)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-promotion
PULL REQUEST
PULL REQUEST[18.0][MIG] sale_loyalty_auto_refresh: Migration to 18.0 (#347)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-promotion
PULL REQUEST
PULL REQUEST[18.0][MIG] sale_loyalty_auto_refresh: Migration to 18.0 (#257)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/sale-promotion
PULL REQUEST
PULL REQUEST[17.0][MIG] sale_loyalty_auto_refresh: Migration to 17.0 (#245)