mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-25 07:32:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2022 Tecnativa - David Vidal
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Company(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
rma_delivery_strategy = fields.Selection(
|
||||
selection=[
|
||||
("fixed_method", "Fixed method"),
|
||||
("customer_method", "Customer method"),
|
||||
("mixed_method", "Customer method (fallback to fixed)"),
|
||||
],
|
||||
string="RMA delivery method strategy",
|
||||
default="mixed_method",
|
||||
)
|
||||
rma_fixed_delivery_method = fields.Many2one(
|
||||
comodel_name="delivery.carrier",
|
||||
string="Default RMA delivery method",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue