跳至内容
菜单
此问题已终结
1 回复
1057 查看

Problem Statement : 

There are various Sales Team namely (East, West, North, Hyderabad, Chennai, Bangalore, Gujarat) and each has a special opportunity numbering system as follows : 

  • East : 24E00001 where 24 is the year, E means East 
  • West: 24W00001 where 24 is the year, W means West 
  • North: 24N00001 where 24 is the year, N means North 
  • Hyderabad : 24H00001 where 24 is the year, H means Hyderabad
  • Chennai: 24C00001 where 24 is the year, C means Chennai
  • Bangalore: 24B00001 where 24 is the year, B means Bangalore
  • Gujarat: 24G00001 where 24 is the year, G means Gujarat 


  • 00001 is the serial number which needs to be updated automatically whenever a new opportunity is created respective to each sales team. 

How to automate this process using Odoo Studio


形象
丢弃
最佳答案

Hi,
You can add a sequence field inside each of your sales team and using the automated action on the creation of the lead, get the sequence number from the sequence set inside the sales team.

For example see this automated action generating barcode for the product: Generate Barcode For Products Using Automated Action In Odoo


Thanks

形象
丢弃
编写者

Thanks for the answer.
I tried to refer your video but I still didn't get how to do it since some functions are different in CRM Module. I added the sequence field but having trouble in automating the Opportunity Field in CRM.

I want it to be automated just like Sales Order.

相关帖文 回复 查看 活动
1
4月 24
1070
1
3月 24
885
2
3月 24
2308
1
7月 23
1437
1
6月 23
1774