Skip to Content
Menu
This question has been flagged
4 Replies
7600 Views

hi,

our pre-OpenERP system of filing customers and suppliers is using unique numbers for each supplier or Customer. There is no such thing in the Address book/contacts of OpenERP. Would you suggest to use tags for such a thing? or write a Module which adds a customer/supplier number entry to this?

An example. If I tag a Customer in our OE Address book now with it's customer number, will this tag still be with him through out an entire CRM process lead, oportunity, quotation, Sales Order, then a manufacturing order, etc ...?

We do not use all of these Modules yet, but I would like make sure I don't Set up a System of tags now, which will not 'stick' throughout all following processes,

Avatar
Discard
Best Answer

Hi, hope you well ! I'm using a module which will auto generate unique number while we create new customer or supplier.  I think it may help you. It is available for odoo 10,11 and 12

Please follow the link https://www.odoo.com/apps/modules/12.0/skit_customer_code/


Avatar
Discard
Best Answer

You may use the field 'Reference' in 'Sales & Purchases' tab. Note that by default this field is not searched in many2one fields or list views.

You should create a new module to override name_get() and name_search() methods to add the reference to the display name and to include this field in search while typing in many2one fields. Check the module product.product for similar functionality using the 'Internal Reference' field.

Also, you should modify the search view to add this field.

Avatar
Discard
Author

I was thinking about the reference too. But due to being hidden a little and not being searchable (at least without the tweaks you are recommending) I didn't go for it. Can you explain why you would prefer that against tags (which wouldn't require any additional Module)?

Many reasons, Tags are linked many2many relationship. Partners can have multiple tags and tags can be used for multiple customers. Also, you cannot include tags in display name like product reference. Another reason is that tags are very important for partner classification. If you want to use it temporarily until users get used to the new system, it may be ok.

Related Posts Replies Views Activity
1
Oct 23
1624
2
Dec 21
6255
1
Aug 21
1873
2
Mar 15
6396
0
Aug 24
179