تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3913 أدوات العرض

I have two types of invoice bills, Invoice bill 1 , Invoice bill 2.

When i select Invoice bill 1 type, Invoice number will be INA001, INA002, INA003, INA004,...

When i select Invoice bill 2 type, Invoice number will be INB001, INB002, INB003, INB004,...

I will select these two types of Bill Alternatively.

For example: If customer A comes i will give him - Invoice bill 1 number INA001, customer B comes i will give him - Invoice bill 2 number INB001, customer B comes i will give him - Invoice bill 1- then the bill number should be INA002. etc...

Is it possible in openerp?

الصورة الرمزية
إهمال
أفضل إجابة

ANYTHING is possible, OpenERP is Open source!!

You probably want to use shop_id - this is used on Sales Orders and could be added to the account_invoice model.

Then, based on shop_id you could use different sequences when validating the Invoice.

الصورة الرمزية
إهمال