Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 08:20:45 UTC+1, Cato Nano ha scritto: > Aaah it' s like this > > bollettaDataCommissione = fields.Function(fields.Date('tributi.bolletta', > 'Data di Commissione'), 'on_change_with_bollettaDataCommissione') > > @fields.depends('bolletta') > def on_change_wit

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 07:57:29 UTC+1, Cato Nano ha scritto: > Il giorno mercoledì 17 gennaio 2018 07:55:23 UTC+1, Cato Nano ha scritto: > > Il giorno martedì 16 gennaio 2018 11:40:47 UTC+1, Sergi Almacellas Abellana > > ha > > > > > > You have to create a function fields which is u

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno mercoledì 17 gennaio 2018 07:55:23 UTC+1, Cato Nano ha scritto: > Il giorno martedì 16 gennaio 2018 11:40:47 UTC+1, Sergi Almacellas Abellana > ha > > > > You have to create a function fields which is updated via > > on_change_with. For example the product_uom_category [1]on the sale >

Re: [tryton] relations

2018-01-16 Thread Cato Nano
Il giorno martedì 16 gennaio 2018 11:40:47 UTC+1, Sergi Almacellas Abellana ha > > You have to create a function fields which is updated via > on_change_with. For example the product_uom_category [1]on the sale > lines uses the value from the product relation. > > [1] http://hg.tryton.org/module

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Raimon Esteve
Hie Carlos, Maybe you are interesting with https://bitbucket.org/trytonspain/trytond-account_invoice_posted2draft Regards -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tr

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Carlos Eduardo Sotelo Pinto
Hi On Tue, Jan 16, 2018 at 6:19 PM, Cédric Krier wrote: > On 2018-01-16 16:32, Carlos Eduardo Sotelo Pinto wrote: > > ​ > > ​ > > ​Any posted invoice must be sent to the tax authority in *mediatley or > > at **least > > 7* days as later via soap service​ > > ​""" > > > > My issue is that I can n

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Cédric Krier
On 2018-01-16 16:32, Carlos Eduardo Sotelo Pinto wrote: > ​ > ​ > ​Any posted invoice must be sent to the tax authority in *mediatley or > at **least > 7* days as later via soap service​ > ​""" > > My issue is that I can not sent this 4 o 5 invoices. for been as clear as > possible > > ​There wer

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Carlos Eduardo Sotelo Pinto
Hi On Tue, Jan 16, 2018 at 11:09 AM, Cédric Krier wrote: > On 2018-01-16 10:23, Carlos Eduardo Sotelo Pinto wrote: > > > > > ​​ > ​Any posted invoice must be sent to the tax authority in mediatley or at > > least 7 days as later via soap service > > > > > > > > Any way, I think the only proper w

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Cédric Krier
On 2018-01-16 10:23, Carlos Eduardo Sotelo Pinto wrote: > > ​Any posted invoice must be sent to the tax authority in mediatley or at > least 7 days as later via soap service > > > > > Any way, I think the only proper way is still to make a credit note. > > > > ​I am sure of that, but I have just

Re: [tryton] Create a credito note for a non existing invoice

2018-01-16 Thread Cédric Krier
On 2018-01-16 10:07, Carlos Eduardo Sotelo Pinto wrote: > > > > Cancelling is a good option, but customer invoices can not be cancelled > > once posted. You have to create a credit note. > > > > > ​I am sure of that, but just for this period of time, I need to cancel some > posted > I gues are thre

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Carlos Eduardo Sotelo Pinto
On Tue, Jan 16, 2018 at 10:14 AM, Cédric Krier wrote: > On 2018-01-15 17:42, Carlos Eduardo Sotelo Pinto wrote: > > On Mon, Jan 15, 2018 at 4:02 AM, Cédric Krier > wrote: > > > On 2018-01-14 19:19, Carlos Eduardo Sotelo Pinto wrote: > > > > I need to find a way to delete an invoice, it could be

Re: [tryton] Create a credito note for a non existing invoice

2018-01-16 Thread Carlos Eduardo Sotelo Pinto
Hi Cedrik On Tue, Jan 16, 2018 at 9:44 AM, Sergi Almacellas Abellana wrote: > El 16/01/18 a les 15:20, Carlos Eduardo Sotelo Pinto ha escrit: > > Hi Cedrik > > > > > I have a tryton implemented since 2018-01-01 and I have an issue > with > > > credit note. The issue related is that befor

Re: [tryton] Delete or Null invoice

2018-01-16 Thread Cédric Krier
On 2018-01-15 17:42, Carlos Eduardo Sotelo Pinto wrote: > On Mon, Jan 15, 2018 at 4:02 AM, Cédric Krier wrote: > > On 2018-01-14 19:19, Carlos Eduardo Sotelo Pinto wrote: > > > I need to find a way to delete an invoice, it could be posted, then I > > need > > > to get back all its movements or del

Re: [tryton] Create a credito note for a non existing invoice

2018-01-16 Thread Sergi Almacellas Abellana
El 16/01/18 a les 15:20, Carlos Eduardo Sotelo Pinto ha escrit: > Hi Cedrik > > > I have a tryton implemented since 2018-01-01 and I have an issue with > > credit note. The issue related is that before 2018-01-01 we have a > > mecanized invocing system running, and now I need to acredi

Re: [tryton] Create a credito note for a non existing invoice

2018-01-16 Thread Carlos Eduardo Sotelo Pinto
Hi Cedrik > I have a tryton implemented since 2018-01-01 and I have an issue with > > credit note. The issue related is that before 2018-01-01 we have a > > mecanized invocing system running, and now I need to acredit an invoice > > for this last year, how could I do, if the invoice is not from th

Re: [tryton] relations

2018-01-16 Thread Sergi Almacellas Abellana
El 16/01/18 a les 11:02, Cato Nano ha escrit: > I have 2 models, with a relation between them > > Much like Sales and SaleLine > > Let' s say I have Bolletta and BollettaLine > > Some BollettaLine fields are calcolated and they depend on some Bolletta > fields > > How do I do that ? > > Also,

[tryton] Re: relations

2018-01-16 Thread Cato Nano
Il giorno martedì 16 gennaio 2018 11:09:15 UTC+1, Cato Nano ha scritto: > Il giorno martedì 16 gennaio 2018 11:02:29 UTC+1, Cato Nano ha scritto: > ah the field has to be different > > I think I made it No I didn' t make it On the client I see a key error here it is https://imgur.com/a/Cwct2

[tryton] Re: relations

2018-01-16 Thread Cato Nano
Il giorno martedì 16 gennaio 2018 11:02:29 UTC+1, Cato Nano ha scritto: > I have 2 models, with a relation between them > > Much like Sales and SaleLine > > Let' s say I have Bolletta and BollettaLine > > Some BollettaLine fields are calcolated and they depend on some Bolletta > fields > > How

[tryton] relations

2018-01-16 Thread Cato Nano
I have 2 models, with a relation between them Much like Sales and SaleLine Let' s say I have Bolletta and BollettaLine Some BollettaLine fields are calcolated and they depend on some Bolletta fields How do I do that ? Also, I' d like to show on the BollettaLine form view some Bolletta fields

Re: [tryton] why doesn' t this field get assigned ?

2018-01-16 Thread Cato Nano
Il giorno sabato 13 gennaio 2018 11:05:07 UTC+1, Cédric Krier ha scritto: > On 2018-01-13 01:31, Cato Nano wrote: > > Il giorno venerdì 12 gennaio 2018 23:45:06 UTC+1, Cédric Krier ha scritto: > > > On 2018-01-10 09:03, Cato Nano wrote: > > > > I have these 2 fields > > > > > > > > numeroGiorn

Re: [tryton] Create a credito note for a non existing invoice

2018-01-16 Thread Sergi Almacellas Abellana
El 15/01/18 a les 23:47, Carlos Eduardo Sotelo Pinto ha escrit: > Dear Community > > I have a tryton implemented since 2018-01-01 and I have an issue with > credit note. The issue related is that before 2018-01-01 we have a > mecanized invocing system running, and now I need to acredit an invoice