콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
20964 화면

Is it possible to change prefix of sequence number according to the state field?

I use a DV prefix for quotation ("Devis") and a BDC prefix for sale order("Bon de Commande") with EBP.

But how can I do the same with OpenERP? When the state is changed into "manual" how can I create a sale order with the right prefix?

아바타
취소
베스트 답변

Actually this isn't possibile. If you want do this, you must create a module that override the functin trigged when the order change status and write the number yourself.

아바타
취소
베스트 답변

Go to Setting->Technical->Sequence and Identifiers->Sequences

Find Sales Order

아바타
취소
베스트 답변

You may use sale quotation numeration app from odoo app store 

아바타
취소
베스트 답변

Setting  then select activate Developer mode 

then Technical next Sequence and identifier next  select sequence next  select sales.order next  select Edit button next  change sequence number 

Deactivate Developer mode

아바타
취소
베스트 답변

See "Sale Quotation Numeration" at https://www.openerp.com/apps/7.0/sale_quotation_number/

Sale Quotation: Sale process in draft stage just informing prices and element of communication. Sale Order: Sale process confirmed, the customer already have a compromise with us in terms of pay an invoice and receive our product or service.

Originally OpenERP manage only 1 sequence for this 2 documents, then the sales order won and lost manage the same sequence losting almost all lost quotations in terms of sequences, making so difficult understand qith a quick view if we are good or bad in terms of logistic and sale process already confirmed.

Technical Explanation:

When you create a quotation, it is numbered using the 'sale.quotation' sequence. When you confirm a quotation, its orginal number is saved in the 'origin' field and the sale order gets a new number, retrieving it from 'sale.order' sequence.

With Openerp Base.

Sale Quotation 1 Number = SO001 Sale Quotation 2 Number = SO002 Sale Quotation 3 Number = SO003 Sale Quotation 4 Number = SO004

Sale Quotation 2 Confirmed = Number for Sale Order SO004

With Openerp + This Module.

Sale Quotation 1 Number = SQ001 Sale Quotation 2 Number = SQ002 Sale Quotation 3 Number = SQ003 Sale Quotation 4 Number = SQ004

Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation SQ002

Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation SQ001

Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation SQ004

아바타
취소
관련 게시물 답글 화면 활동
3
10월 19
3364
1
5월 25
2132
1
9월 24
1120
2
4월 19
9934
5
12월 23
16017