On 2018-05-08 22:46, Richard PALO wrote:
> BTW, why does save(), for example on a move, automatically save() its lines?
> Is the problem because origin is unidirectional?
Because proteus simulate the behavior of other clients.
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel:
Le 08/05/2018 à 19:56, Cédric Krier a écrit :
The origin must be saved before being assigned if you want to store the
saved id.
I submitted https://bugs.tryton.org/issue7421 to prevent the exception
raising.
Ok, I'm trying the following, based upon what I see e.g. in modelstorage.py:
On 2018-05-08 18:48, Richard PALO wrote:
> I came across a difficulty noticed during FEC generation (French plan) where I
> get the following exception:
> >...
> > File "/trytond/modules/account_fr/account.py", line 315, in get_reference
> > return line.move.origin.rec_name
> > AttributeError
I came across a difficulty noticed during FEC generation (French plan) where I
get the following exception:
...
File "/trytond/modules/account_fr/account.py", line 315, in get_reference
return line.move.origin.rec_name
AttributeError: 'str' object has no attribute 'rec_name'
To briefly ex