TIP: You can type at any time to perform a new search.
Sales and Warehouse Management
sale_stock · odoo/odoo
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
Views touched (26)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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_returnsBooleanstring='Allow Spontaneous Returns' -
return_validity_daysIntegerdefault=14string='Return Validity Days' -
security_leadIntegerdefault=0help='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'
No public methods.
New fields (4)
-
allow_spontaneous_returnsBooleanreadonly=Falserelated='company_id.allow_spontaneous_returns' -
return_validity_daysIntegerreadonly=Falserelated='company_id.return_validity_days' -
security_leadIntegerreadonly=Falserelated='company_id.security_lead'string='Security Lead Time' -
use_security_leadBooleanconfig_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'
No public methods.
New fields (1)
-
property_warehouse_idMany2one → stock.warehousecheck_company=Truecompany_dependent=Truestring='Default Warehouse'user_writeable=True args: 'stock.warehouse'
No public methods.
New fields (2)
-
nameCharrequired=Truestring='Reason'translate=True -
sequenceIntegerdefault=10
No public methods.
New fields (10)
-
delivery_countIntegercompute='_compute_picking_ids'string='Delivery Orders' -
effective_dateDatetimecompute='_compute_effective_date'help='Completion date of the first delivery order.'store=True args: 'Effective Date' -
expected_dateDatetimehelp='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_popoverCharcompute='_compute_json_popover' args: 'JSON data for the popover widget' -
late_availabilityBooleancompute='_compute_late_availability'help='True if any related picking has late availability'search='_search_late_availability'string='Late Availability' -
picking_idsOne2many → stock.pickingstring='Transfers' args: 'stock.picking', 'sale_id' -
picking_policySelectiondefault=<expr>help='It specifies goods to be deliver partially or all at once'required=Truestring='Shipping Policy' args: [('direct', 'As soon as possible, with back orders'), ('one', 'When all products are ready')] -
show_json_popoverBooleancompute='_compute_json_popover' args: 'Has late picking' -
stock_reference_idsMany2many → stock.referencecopy=Falsestring='References' args: 'stock.reference', 'stock_reference_sale_rel', 'sale_id', 'reference_id' -
warehouse_idMany2one → stock.warehousecompute='_compute_warehouse_id'domain=<expr>init_storage='_init_column_warehouse_id'precompute=Truereadonly=Falsestore=Truestring='Warehouse' args: 'stock.warehouse'
-
action_view_delivery(self) -
write(self, vals)
New fields (10)
-
customer_leadIntegerinverse='_inverse_customer_lead'readonly=Falsestore=True -
display_qty_widgetBooleancompute='_compute_qty_to_deliver' -
forecast_expected_dateDatetimecompute='_compute_qty_at_date' -
free_qty_todayFloatcompute='_compute_qty_at_date'digits='Product Unit' -
is_mtoBooleancompute='_compute_is_mto' -
move_idsOne2many → stock.movestring='Stock Moves' args: 'stock.move', 'sale_line_id' -
qty_delivered_methodSelectionselection_add=[('stock_move', 'Stock Moves')] -
qty_to_deliverFloatcompute='_compute_qty_to_deliver'digits='Product Unit' -
route_idsMany2many → stock.routedomain=[('sale_selectable', '=', True)]ondelete='restrict'string='Routes' args: 'stock.route' -
warehouse_idMany2one → stock.warehousecompute='_compute_warehouse_id'store=True args: 'stock.warehouse'
-
create(self, vals_list)@api.model_create_multi -
has_valued_move_ids(self) -
write(self, vals)
New fields (1)
-
warehouse_idMany2one → stock.warehousereadonly=True args: 'stock.warehouse', 'Warehouse'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
sale_order_countIntegercompute='_compute_sale_order_ids' args: 'Sale order count' -
sale_order_idsMany2many → sale.ordercompute='_compute_sale_order_ids'string='Sales Orders' args: 'sale.order'
-
action_view_so(self)
New fields (1)
-
sale_line_idMany2one → sale.order.lineindex='btree_not_null' args: 'sale.order.line', 'Sale Line'
-
write(self, vals)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
allow_spontaneous_returnsBooleanrelated='company_id.allow_spontaneous_returns' -
return_reason_idMany2one → return.reasonargs: 'return.reason' -
sale_idMany2one → sale.ordercompute='_compute_sale_id'index='btree_not_null'init_storage=<expr>inverse='_set_sale_id'store=Truestring='Sales Order' args: 'sale.order'
No public methods.
New fields (1)
-
sale_idsMany2many → sale.orderstring='Sales' args: 'sale.order', 'stock_reference_sale_rel', 'reference_id', 'sale_id'
No public methods.
New fields (1)
-
sale_delayIntegerhelp='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=Falserelated='product_id.sale_delay'related_sudo=Falserequired=True args: 'Availability Time'
No public methods.
New fields (1)
-
sale_selectableBooleanargs: 'Selectable on Sales Order Line'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
so_route_idsMany2many → stock.routedomain="[('sale_selectable', '=', True)]"help='Choose to apply SO lines specific routes.'string='Apply specific routes' args: 'stock.route'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…