How to Change Sequence Number in Odoo 18 Sale Order | Odoo 18 Sales Tutorials | Odoo 18 New Features

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=_qnRpeJ874U



Duration: 0:00
117 views
0


Changing Sequence Numbers in Odoo 18

Understanding Sequences in Odoo

In Odoo, sequences are used to generate unique identifiers for records. These identifiers are often displayed as reference numbers, such as invoice numbers, purchase order numbers, or customer numbers.

Methods to Change Sequence Numbers

There are primarily two ways to change sequence numbers in Odoo 18:

1. Modifying Existing Sequences:
Navigate to Settings: Go to the Settings app.
Open Sequences: Search for "Sequences" in the search bar and open the corresponding menu.
Find the Sequence: Locate the sequence you want to modify (e.g., invoice sequence, sales order sequence).
Edit the Sequence: Click on the sequence to open its details.
Adjust Settings:
Prefix: Change the prefix to modify the initial part of the sequence number.
Suffix: Change the suffix to modify the ending part of the sequence number.
Padding: Adjust the number of digits in the sequence number.
Number Next: Manually set the next number in the sequence.
Save Changes: Click the "Save" button to apply the changes.

2. Creating New Sequences:
Create a New Sequence: In the Sequences menu, click "Create."
Define Sequence Details:
Name: Give the sequence a descriptive name.
Code: Assign a unique code to the sequence.
Prefix: Set the prefix for the sequence numbers.
Suffix: Set the suffix for the sequence numbers.
Padding: Specify the number of digits in the sequence numbers.
Number Next: Set the starting number for the sequence.
Assign the Sequence to a Model:
Open the model's Python file (e.g., models/sale_order.py).
Add the sequence to a field using the default attribute:
name = fields.Char(
string='Order Reference',
required=True,
default=lambda self: self.env['ir.sequence'].next_by_code('sale.order')
)

#Odoo18 #Odoo18Sales #OdooTutorials #Odoo18Release #SalesOrderSequence #OdooERP #OdooFeatures #BusinessAutomation #ERPSoftware #SalesManagement #Odoo18Tutorial #Odoo18NewFeatures #Odoo18SalesManagement

Connect With Us:
—————————————
➡ ️ Websitehttps://www.cybrosys.com/m/
➡ ️ Email: info@cybrosys.com
➡ ️ Twihttps://twitter.com/cybrosysosys  
➡ ️ Lihttps://www.linkedin.com/company/cybrosys/brosys  
➡ ️ https://www.facebook.com/cybrosystechnologiesnologies  
➡ ️ https://www.instagram.com/cybrosystech/brosystech  
https://pinterest.com/cybrosys/  / cybrosys  




Other Videos By Cybrosys Technologies


2024-11-21What is Next Order Coupons in Odoo 18 Sales | Odoo 18 New Features | Promotion Type in Odoo 18
2024-11-21How to Configure Product Packaging in Odoo 18 Sales | Odoo 18 New Features | Odoo 18 Sales Tutorials
2024-11-20How to Configure Public Holidays & Mandatory Days in Odoo 18| Odoo 18 Time Off| Odoo 18 New Features
2024-11-20How to Manage Upselling in Odoo 18 Sales | Odoo 18 Sales Tutorials | Odoo 18 New Features | Odoo 18
2024-11-19Pass By Reference in Python | EP-53 Call By Reference in Python | Python Tutorial for Beginners
2024-11-19How to Manage Buy X Get Y Free in Odoo 18 Sales | Odoo 18 Sales Tutorials | Odoo 18 New Features
2024-11-19How to Consolidate Subscription Billing in Odoo 18 Sales | Odoo 18 Sales | Odoo 18 New Features
2024-11-18How to Manage Starshipit in Odoo 18 | Configure Starshipit Shipping Connector | Odoo 18 New Features
2024-11-17How to Manage Pricelist in Odoo 18 Sales | Configure Pricelist in Odoo 18 | Odoo 18 New Features
2024-11-17How to Manage Loyalty Points in Odoo 18 Sales | Loyalty Programs & Cards in Odoo 18| Odoo 18 Release
2024-11-15How to Change Sequence Number in Odoo 18 Sale Order | Odoo 18 Sales Tutorials | Odoo 18 New Features
2024-11-14How to Manage E-Wallet in Odoo 18 Sales | Odoo 18 Sales Tutorials | Odoo 18 New Features | Odoo 18
2024-11-14Pass by Value | EP-52 Call by Value in Python | Python Tutorials For Beginners | Python Programming
2024-11-14How to Create a Vendor in Odoo 18 Purchase | Odoo 18 Purchase Tutorial | Odoo 18 New Features
2024-11-13How to Configure Unit of Measurement UoM in Odoo 18 | Setup UoM | Odoo 18 New Features | Odoo 18
2024-11-13How to Sell Event Tickets in Odoo 18 POS | Odoo 18 POS Tutorials | Odoo 18 POS Tutorials | Odoo 18
2024-11-12Gift Cards in Odoo 18 Sales | Odoo 18 Sales Tutorials | Odoo 18 New Features | Odoo 18 Release Date
2024-11-12How to Configure Automatic Invoice in Odoo 18 Sales | Odoo 18 New Features | Odoo 18 Sales Tutorials
2024-11-11How to Analyze Profit of a Sales Order in Odoo 18 | Odoo 18 Sales Tutorials | Odoo 18 New Features
2024-11-11How to Manage Purchase Order Approval in Odoo 18 | Odoo 18 Purchase Tutorials | Odoo 18 New Features
2024-11-10Overview of Odoo Software | What are the Key Features of Odoo | Benefits of Odoo | What is Odoo ERP