TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Sales/Sales
Folder size
2.52 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-10-05 00:19:41
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Christophe Matthieu, Arnold Moyaux, Aurélien Warnon, Xavier-Do, Victor Feyens, William Henrotin, Julien Mougenot, svs-odoo, Rémy Voet (ryv), Tiffany Chang (tic), Gorash, Pierre Paridans, william-andre, David (dafr), Gauthier Wala (gawa), Levi Siuzdak (sile), Dylan Kiss (dyki), Chong Wang (cwg), Paweł Fertyk, omra-odoo, Quentin Wolfs, kcv-odoo, Louis Gobert, Xavier Luyckx (xlu), Stéphane Diez, kawkb, Hesham Saleh, pkgu-odoo, Mohammad Abdulmoneim (abdu), djameltouati, Michaël Mattiello, Allesio, Valeriya (vchu), MaximeNoirhomme, chha-odoo, plha-odoo, Krzysztof Magusiak (krma), Florian Malfroid, kukor-odoo, Akash Pandey, krip-odoo, joseph, zadh-odoo, utma-odoo, Ester Andreetto, nsirjacobs, mjvi-odoo, bhna-odoo, agbr-odoo, Lulu Grimalkin (lugr), Lancelot Semal, Julien Launois (jula), Saurabh, Amr Elkhatieb, Nisarg (nipl), assh-odoo, Robert Smith (rosm), Ravij Parikh, Merlin Guillaume, Léo Gizard (legi), sako-odoo, Youssef (abyo), Abo Taha, ELCO, lase, Moamen(msho), hapt-odoo, Krishna Patel, Sanket Tank(stan), Mathias Mathy, jeanschoenlaub, Stef Ossé, Julien Piron, Jean Schoenlaub, pusu-odoo, Cezar Bulancea (cebul)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_gr_edi_delivery_note, l10n_in_sale_stock, repair, sale_gelato_stock, sale_mrp, sale_project_stock, sale_purchase_stock, sale_stock_margin, sale_stock_product_expiry, stock_delivery, website_sale_stock
Description
Manage sales quotations and orders
==================================

This module makes the link between the sales and warehouses management applications.

Preferences
-----------
* Shipping: Choice of delivery at once or partial delivery
* Invoicing: choose how invoices will be paid
* Incoterms: International Commercial terms

Code Analysis info_outline

Views touched (26)
XML IDNameModelTypeStatus
exception_on_picking exception_on_picking ir.ui.view qweb New
exception_on_so exception_on_so ir.ui.view qweb New
product_template_form_view_stock product.template.stock.property.form.inherit product.template form Inherits sale.product_template_form_view
report_delivery_document_inherit_sale_stock report_delivery_document_inherit_sale_stock ir.ui.view qweb Inherits stock.report_delivery_document
res_config_settings_view_form_stock res.config.settings.view.form.inherit.sale.stock.stock res.config.settings form Inherits stock.res_config_settings_view_form
res_users_view_form res.users.form.inherit res.users form Inherits base.view_users_form
res_users_view_form_preferences res.users.preferences.form.inherit res.users form Inherits base.view_users_form_simple_modif
res_users_view_simple_form res.users.simple.form.inherit res.users form Inherits base.view_users_simple_form
return_label return_label ir.ui.view qweb New
return_reason_list return.reason.list return.reason list New
sale_order_portal_template sale_order_portal_template ir.ui.view qweb Inherits sale.sale_order_portal_template
sale_order_tree sale.order.list.inherit.sale.stock sale.order list Inherits sale.sale_order_tree
sale_stock.sale_order_portal_content_inherit_sale_stock Orders Shipping Followup ir.ui.view qweb Inherits sale.sale_order_portal_content
sale_stock_help_message_template sale_stock_help_message_template ir.ui.view qweb Inherits stock.help_message_template
sale_stock_sale_order_view_search_inherit sale_stock.sale.order.search.inherit sale.order search Inherits sale.sale_order_view_search_inherit_sale
stock_location_route_view_form_inherit_sale_stock stock.route.form stock.route form Inherits stock.stock_location_route_form_view
stock_picking_return_report_graph stock.picking.return.report.graph stock.picking graph New
stock_picking_return_report_pivot stock.picking.return.report.pivot stock.picking pivot New
stock_production_lot_view_form stock.production.lot.view.form stock.lot form Inherits stock.view_production_lot_form
stock_reference_sale_view_form stock.reference.sale stock.reference form Inherits stock.stock_reference_form_view
view_order_form_inherit_sale_stock sale.order.form.sale.stock sale.order form Inherits sale.view_order_form
view_order_line_tree_inherit_sale_stock sale.order.line.list.sale.stock.location sale.order.line list Inherits sale.view_order_line_tree
view_order_tree sale.order.list.inherit.sale.stock sale.order list Inherits sale.view_order_tree
view_picking_form sale.stock.view.picking.form stock.picking form Inherits stock.view_picking_form
view_stock_replenishment_info_sale_stock_inherit stock.replenishment.information.sale.stock.inherit stock.replenishment.info Inherits stock.view_stock_replenishment_info
view_stock_rules_report_sale Stock Rules Report Sale stock.rules.report Inherits stock.view_stock_rules_report
HTTP endpoints (3)
Route(s)HandlerAuthTypeMethodsFlags
/my/order/return_data CustomerPortal.my_order_return_data public jsonrpc ALL
/my/orders/<int:order_id>/download_return_label CustomerPortal.order_return_label public http ALL sudo
/my/picking/pdf/<int:picking_id> CustomerPortal.portal_my_picking_report public http ALL sudo website
Models touched (21)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • allow_spontaneous_returns Boolean
    string='Allow Spontaneous Returns'
  • return_validity_days Integer
    default=14 string='Return Validity Days'
  • security_lead Integer
    default=0 help='Margin of error for dates promised to customers. Products will be scheduled for procurement and delivery that many days earlier than the actual promised date, to cope with unexpected delays in the supply chain.' required=True args: 'Sales Safety Days'
Public methods (0)

No public methods.

New fields (4)
  • allow_spontaneous_returns Boolean
    readonly=False related='company_id.allow_spontaneous_returns'
  • return_validity_days Integer
    readonly=False related='company_id.return_validity_days'
  • security_lead Integer
    readonly=False related='company_id.security_lead' string='Security Lead Time'
  • use_security_lead Boolean
    config_parameter='sale_stock.use_security_lead' help='Margin of error for dates promised to customers. Products will be scheduled for delivery that many days earlier than the actual promised date, to cope with unexpected delays in the supply chain.' string='Security Lead Time for Sales'
Public methods (0)

No public methods.

New fields (1)
  • property_warehouse_id Many2one → stock.warehouse
    check_company=True company_dependent=True string='Default Warehouse' user_writeable=True args: 'stock.warehouse'
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True string='Reason' translate=True
  • sequence Integer
    default=10
Public methods (0)

No public methods.

New fields (10)
  • delivery_count Integer
    compute='_compute_picking_ids' string='Delivery Orders'
  • effective_date Datetime
    compute='_compute_effective_date' help='Completion date of the first delivery order.' store=True args: 'Effective Date'
  • expected_date Datetime
    help='Delivery date you can promise to the customer, computed from the minimum lead time of the order lines in case of Service products. In case of shipping, the shipping policy of the order will be taken into account to either use the minimum or maximum lead time of the order lines.'
  • json_popover Char
    compute='_compute_json_popover' args: 'JSON data for the popover widget'
  • late_availability Boolean
    compute='_compute_late_availability' help='True if any related picking has late availability' search='_search_late_availability' string='Late Availability'
  • picking_ids One2many → stock.picking
    string='Transfers' args: 'stock.picking', 'sale_id'
  • picking_policy Selection
    default=<expr> help='It specifies goods to be deliver partially or all at once' required=True string='Shipping Policy' args: [('direct', 'As soon as possible, with back orders'), ('one', 'When all products are ready')]
  • show_json_popover Boolean
    compute='_compute_json_popover' args: 'Has late picking'
  • stock_reference_ids Many2many → stock.reference
    copy=False string='References' args: 'stock.reference', 'stock_reference_sale_rel', 'sale_id', 'reference_id'
  • warehouse_id Many2one → stock.warehouse
    compute='_compute_warehouse_id' domain=<expr> init_storage='_init_column_warehouse_id' precompute=True readonly=False store=True string='Warehouse' args: 'stock.warehouse'
Public methods (2)
  • action_view_delivery(self)
  • write(self, vals)

New fields (10)
  • customer_lead Integer
    inverse='_inverse_customer_lead' readonly=False store=True
  • display_qty_widget Boolean
    compute='_compute_qty_to_deliver'
  • forecast_expected_date Datetime
    compute='_compute_qty_at_date'
  • free_qty_today Float
    compute='_compute_qty_at_date' digits='Product Unit'
  • is_mto Boolean
    compute='_compute_is_mto'
  • move_ids One2many → stock.move
    string='Stock Moves' args: 'stock.move', 'sale_line_id'
  • qty_delivered_method Selection
    selection_add=[('stock_move', 'Stock Moves')]
  • qty_to_deliver Float
    compute='_compute_qty_to_deliver' digits='Product Unit'
  • route_ids Many2many → stock.route
    domain=[('sale_selectable', '=', True)] ondelete='restrict' string='Routes' args: 'stock.route'
  • warehouse_id Many2one → stock.warehouse
    compute='_compute_warehouse_id' store=True args: 'stock.warehouse'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • has_valued_move_ids(self)
  • write(self, vals)

New fields (1)
  • warehouse_id Many2one → stock.warehouse
    readonly=True args: 'stock.warehouse', 'Warehouse'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • sale_order_count Integer
    compute='_compute_sale_order_ids' args: 'Sale order count'
  • sale_order_ids Many2many → sale.order
    compute='_compute_sale_order_ids' string='Sales Orders' args: 'sale.order'
Public methods (1)
  • action_view_so(self)

New fields (1)
  • sale_line_id Many2one → sale.order.line
    index='btree_not_null' args: 'sale.order.line', 'Sale Line'
Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • allow_spontaneous_returns Boolean
    related='company_id.allow_spontaneous_returns'
  • return_reason_id Many2one → return.reason
    args: 'return.reason'
  • sale_id Many2one → sale.order
    compute='_compute_sale_id' index='btree_not_null' init_storage=<expr> inverse='_set_sale_id' store=True string='Sales Order' args: 'sale.order'
Public methods (0)

No public methods.

New fields (1)
  • sale_ids Many2many → sale.order
    string='Sales' args: 'sale.order', 'stock_reference_sale_rel', 'reference_id', 'sale_id'
Public methods (0)

No public methods.

New fields (1)
  • sale_delay Integer
    help='Choose the maximum number of days within which the product should be available for delivery to a customer or for use in other situations.' readonly=False related='product_id.sale_delay' related_sudo=False required=True args: 'Availability Time'
Public methods (0)

No public methods.

New fields (1)
  • sale_selectable Boolean
    args: 'Selectable on Sales Order Line'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • so_route_ids Many2many → stock.route
    domain="[('sale_selectable', '=', True)]" help='Choose to apply SO lines specific routes.' string='Apply specific routes' args: 'stock.route'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…