Repository
OCA/sale-promotion · module folder · Try on Runboat
Module version
1.0.0
Category
Sales Management
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-promotion
Last tracking update
2026-08-07 07:57:18
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
OCA-git-bot, oca-ci, Stefan
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
coupon_program_view_promo_program_form coupon.program form Inherits coupon.coupon_program_view_promo_program_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • search(self, args, offset=0, limit=None, order=None, count=False)
    HACK: Allow to use multiple code coupon programs Adding this condition we can fool the core filters to allow multiple code programs in a single order. They get registered in the no_code_promo_program_ids but aside from that they'll behave as regular code programs.

New fields (0)

No new fields.

Public methods (1)
  • apply_coupon(self, order, coupon_code)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    Store code programs along with automatic programs

Loading…