| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/pos |
| GIT | |
| GIT | https://github.com/OCA/pos.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/pos/tree/14.0/pos_return_voucher |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Point Of Sale |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Aures Tic, Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Aures Tic, Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, oca-ci, Jose Zambudio |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/pos |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:40:49 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/pos: - pos_order_mgmt - pos_order_return odoo/odoo: - point_of_sale - stock_account - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - account - analytic |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets |
assets | ir.ui.view | qweb | Inherits point_of_sale.assets |
pos_config_view_form_inh_pos_return_voucher |
pos.config.view.form.inherit | pos.config | xpath | Inherits point_of_sale.pos_config_view_form |
pos_payment_method_view_form_inherit_pos_return_voucher |
pos.payment.method.view.form.inherit | pos.payment.method | xpath | Inherits point_of_sale.pos_payment_method_view_form |
pos_payment_method_view_tree_inherit_pos_return_voucher |
pos.payment.method.view.tree.inherit | pos.payment.method | xpath | Inherits point_of_sale.pos_payment_method_view_tree |
view_pos_payment_form_inherit_pos_return_voucher |
pos.payment.view.form.inherit | pos.payment | xpath | Inherits point_of_sale.view_pos_payment_form |
view_pos_pos_form_inh_pos_return_voucher |
pos.order.view.form.inherit | pos.order | xpath | Inherits point_of_sale.view_pos_pos_form |
view_pos_pos_return_voucher_form |
view.pos.pos.return.voucher.form | pos.return.voucher | form | New |
view_pos_pos_return_voucher_tree |
view.pos.pos.return.voucher.tree | pos.return.voucher | tree | New |
return_voucher_validity
Integer
default=30
help='If you leave this option empty, the vouchers will have an indefinite date, i.e., they will never expire.'
No public methods.
emitted_return_voucher_id
Many2one → pos.return.voucher
comodel_name='pos.return.voucher'
ondelete='restrict'
readonly=True
string='Emitted return voucher'
redeemed_return_voucher_ids
Many2many → pos.return.voucher
column1='order_id'
column2='return_voucher_id'
comodel_name='pos.return.voucher'
readonly=True
relation='pos_order_return_voucher_rel'
string='Redeemed return vouchers'
add_payment(self, data)
emitted_return_voucher_id
Many2one → pos.return.voucher
comodel_name='pos.return.voucher'
ondelete='restrict'
readonly=True
redeemed_return_voucher_id
Many2one → pos.return.voucher
comodel_name='pos.return.voucher'
ondelete='restrict'
readonly=True
No public methods.
return_voucher
Boolean
No public methods.
amount
Float
copy=False
required=True
date_order
Datetime
readonly=True
related='order_id.date_order'
max_validity_date
Datetime
compute='_compute_max_validity_date'
readonly=True
store=True
order_id
Many2one → pos.order
comodel_name='pos.order'
index=True
ondelete='restrict'
readonly=True
string='Created from order'
pos_reference
Char
readonly=True
related='order_id.pos_reference'
redeemed_order_ids
Many2many → pos.order
column1='return_voucher_id'
column2='order_id'
comodel_name='pos.order'
readonly=True
relation='pos_order_return_voucher_rel'
string='Redeemed on order'
remaining_amount
Float
compute='_compute_remaining_amount'
readonly=True
store=True
state
Selection
compute='_compute_state'
selection=[('active', 'Active'), ('expired', 'Expired'), ('done', 'Done')]
user_id
Many2one → res.users
comodel_name='res.users'
default=<expr>
ondelete='set null'
string='User'
No public methods.