if i have 100 computer and i need to put a unique serial number to each computer when i enter the products to warehouse and i need to define the computer i sell by take the serial number for warranty.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
2
Respostes
5365
Vistes
if you build a python like below could help you do that. You simply have to create a xml that replaces default_code.
class product_product(osv.osv):
"""(NULL)"""
_name = 'product.product'
_inherit = 'product.product'
_columns = {
'default_code': fields.char('Reference', size=80, select=True, required=True),
}
_sql_constraints = [
('name_uniq', 'unique(default_code)', ("There is a similar References already in the system please specify another name, must be UNIQUE!"))
]
product_product()
when i sort the products in warehouse i need to put the serial number to each item
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se
You can use product lot expiry module to format the warranty. when you sell just make sure the delivery order has the correct product lot and your product has the correct use by date. That should sort it
when i sort the products in warehouse i need to put the serial number to each item
do you mean you want to make the product reference unique for each product on your database? that is, force it that no two product will have the same reference
i mean that each product has many items and each item has a serial number like (laptop computer we have 20 laptop and each laptop has a serial number) how I can enter this serial number. when i enter the quantity of laptops which is 20 i should enter 20 serial number for each laptop 1 serial number
Use Product lot and you can enter the serial numbers as the product lot instead on the once generated by OpenERP