openerp-expert-accounting team mailing list archive
-
openerp-expert-accounting team
-
Mailing list archive
-
Message #01064
Re: invoice sequence
On Fri, Jan 21, 2011 at 10:47 AM, Davide Corio <davide.corio@xxxxxxxxxxxx>wrote:
> Il 21/01/2011 16:32, Ovnicraft ha scritto:
>
> Hello David, there is a new module account_sequence so it try to give us
>> the
>> solution in the old style but we did some modifications for works with
>> invoices.
>>
>> We did this modifications in post method redefined in that module
>> http://paste.pocoo.org/show/324384/
>>
>
> Hi,
> i know account_sequence, but it doesn't solve the problem.
>
> At least in Italy, we need two different sequences for journal entries and
> invoice numbers
>
> I see that account.invoice now has number and internal_number, but the
> second is just a copy of the first:
>
> ----------------------------------------------------------------------
> number = obj_inv.number
>
> self.write(cr, uid, ids, {'internal_number':number})
> ----------------------------------------------------------------------
>
Exactly that's why we modify the post method try it the paste.
Regards,
>
> Well... with account_sequence we just need to remove the "SAJ" from the
> sale journal sequence and we will have account journal entries using a
> second sequence.
>
> But i think we have to clean up the available sequences list, don't you
> think?
>
>
>
> --
> Davide Corio davide.corio@xxxxxxxxxxxx
> Via Alliaudi, 19 - 10064 - Pinerolo (TO) - Italy
> Mobile: (+39) 3408106954 - Fax: (+39) 01214469718
> Domsense Srl http://www.domsense.com
>
--
Cristian Salamea
@ovnicraft
Follow ups
References