The Customer Number module is an extension for Odoo that adds a customer number field to partner records. This module allows businesses to assign unique customer numbers to their clients, making it easier to track and identify customers in various business processes.
- Adds a "Customer Number" field to company partner records
- Automatically generates unique customer numbers for new company contacts
- Displays the customer number on invoice reports
- Supports multi-language functionality
- Only visible and editable for company contacts, not individuals
- Configurable number of digits for customer numbers
- Option to use leading zeros for customer numbers
- Bulk update feature for existing customer numbers
- Clone this repository into your Odoo addons directory: git clone [email protected]:kubangab/customer_number.git
- Update your Odoo addons path to include this module
- Restart your Odoo server
- Go to Apps in your Odoo instance and search for "Customer Number"
- Install the module
After installation:
- Go to Settings > General Settings > Customer Numbers to configure:
- Number of digits for customer numbers
- Starting number for customer numbers
- Whether to use leading zeros
- Go to Contacts
- Create a new company contact, and a customer number will be automatically assigned
- The customer number will automatically appear on invoices generated for this customer
- To update existing customer numbers, go to Contacts, select the list view, and use the "Update Customer Numbers" action from the Action menu
This module supports multi-language functionality. To add a new language:
- Copy the
i18n/customer_number.potfile - Rename it to
[language_code].po(e.g.,fr.pofor French) - Translate the strings in the new .po file
- Place the file in the
i18ndirectory - Restart your Odoo server and update the module
The module includes security settings to ensure only authorized users can access and modify customer numbers. Make sure to assign the appropriate user groups for access to the customer number features.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is licensed under the LGPL-3 License - see the LICENSE file for details.
If you encounter any problems or have any questions, please open an issue on the GitHub repository.
Lasse Larsson, Kubang AB, https://www.kubang.eu/