Repository
OCA/l10n-italy · module folder · Try on Runboat
Module version
1.1.0
Category
Delivery Note
Folder size
0.12 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-italy
Last tracking update
2026-08-07 07:47:33
Authors
Odoo Community Association (OCA), Cetmix, Ooops
Maintainers
Odoo Community Association (OCA), Cetmix, Ooops
Committers
Weblate, OCA-git-bot, oca-ci, matteo.tognini, Marco Colombo, Andrey
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
assets_frontend_rma Request RMA ir.ui.view qweb Inherits web.assets_frontend
delivery_note_portal_template_rma Request RMA ir.ui.view qweb Inherits l10n_it_delivery_note.portal_delivery_note_page
delivery_note_rma_request_form RMA Request Form ir.ui.view qweb New
delivery_note_rma_wizard_form_view stock.delivery.note.rma.wizard.form stock.delivery.note.rma.wizard form New
modal_request_ddt RMA Request Form ir.ui.view qweb Inherits l10n_it_delivery_note.portal_delivery_note_page
rma_view_form rma.view.form rma form Inherits rma.rma_view_form
stock_delivery_note_form_view Delivery note form inherit stock.delivery.note form Inherits l10n_it_delivery_note.stock_delivery_note_form_view
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/my/delivery-notes/<int:dn>/requestrma CustomerPortal.request_delivery_rma public http POST sudo website
Models touched (6)

New fields (7)
  • allowed_move_ids Many2many → stock.delivery.note.line
    comodel_name='stock.delivery.note.line' compute='_compute_allowed_move_ids'
  • allowed_picking_ids Many2many → stock.picking
    comodel_name='stock.picking' compute='_compute_allowed_picking_ids'
  • allowed_product_ids Many2many → product.product
    comodel_name='product.product' compute='_compute_allowed_product_ids'
  • delivery_note_id Many2one → stock.delivery.note
    comodel_name='stock.delivery.note' readonly=True states={'draft': [('readonly', False)]} string='Delivery Note'
  • move_id Many2one
  • picking_id Many2one
  • product_id Many2one
Public methods (0)

No public methods.

New fields (3)
  • rma_count Integer
    compute='_compute_rma_count' string='RMA count'
  • rma_ids One2many → rma
    comodel_name='rma' copy=False inverse_name='delivery_note_id' string='RMAs'
  • warehouse_id Many2one → stock.warehouse
    check_company=True default=<expr> readonly=True required=True states={'draft': [('readonly', False)], 'sent': [('readonly', False)]} string='Warehouse' args: 'stock.warehouse'
Public methods (3)
  • action_create_rma(self)
  • action_view_rma(self)
  • get_delivery_rma_data(self)

New fields (1)
  • delivery_move_ids One2many → stock.move
    string='Delivery Transfers' args: 'stock.move', 'delivery_note_line_id'
Public methods (1)
  • prepare_delivery_rma_data(self)

New fields (16)
  • allowed_picking_ids Many2many → stock.picking
    comodel_name='stock.picking' compute='_compute_allowed_picking_ids'
  • allowed_product_ids Many2many → product.product
    comodel_name='product.product' compute='_compute_allowed_product_ids'
  • delivery_note_id Many2one → stock.delivery.note
    comodel_name='stock.delivery.note' default=<expr>
  • delivery_note_line_id Many2one → stock.delivery.note.line
    comodel_name='stock.delivery.note.line'
  • description Text
  • move_id Many2one → stock.move
    comodel_name='stock.move' compute='_compute_move_id'
  • operation_id Many2one → rma.operation
    comodel_name='rma.operation' string='Requested operation'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' help='Refund address for current RMA.' readonly=True states={'draft': [('readonly', False)]} string='Invoice Address'
  • partner_shipping_id Many2one → res.partner
    comodel_name='res.partner' help='Shipping address for current RMA.' readonly=True states={'draft': [('readonly', False)]} string='Shipping Address'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' domain="[('id', 'in', allowed_picking_ids)]" string='Delivery order'
  • product_id Many2one → product.product
    comodel_name='product.product' domain="[('id', 'in', allowed_product_ids)]" required=True string='Product'
  • quantity Float
    digits='Product Unit of Measure' required=True string='Quantity'
  • sale_line_id Many2one → sale.order.line
    comodel_name='sale.order.line'
  • uom_category_id Many2one → uom.category
    comodel_name='uom.category' related='product_id.uom_id.category_id'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' domain="[('category_id', '=', uom_category_id)]" required=True string='Unit of Measure'
  • wizard_id Many2one → stock.delivery.note.rma.wizard
    comodel_name='stock.delivery.note.rma.wizard' string='Wizard'
Public methods (1)
  • onchange_product_id(self)
    @api.onchange('product_id')

New fields (6)
  • commercial_partner_id Many2one → res.partner
    comodel_name='res.partner' related='delivery_note_id.partner_id.commercial_partner_id' string='Commercial entity'
  • custom_description Text
    help='Values coming from portal RMA request form custom fields'
  • delivery_note_id Many2one → stock.delivery.note
    comodel_name='stock.delivery.note' default=<expr>
  • line_ids One2many → stock.delivery.note.line.rma.wizard
    comodel_name='stock.delivery.note.line.rma.wizard' inverse_name='wizard_id' string='Lines'
  • location_id Many2one → stock.location
    comodel_name='stock.location' default=<expr> domain=_domain_location_id string='RMA location'
  • partner_shipping_id Many2one → res.partner
    comodel_name='res.partner' help='Will be used to return the goods when the RMA is completed' string='Shipping Address'
Public methods (2)
  • create_and_open_rma(self)
  • create_rma(self)

New fields (1)
  • delivery_note_line_id Many2one → stock.delivery.note.line
    index=True args: 'stock.delivery.note.line', 'Delivery Line'
Public methods (0)

No public methods.