El 21/08/17 a les 16:00, 'Artem Braga' via tryton ha escrit:
Thanks for the answers provided on constructing Account Move Templates.

There are two more questions on this subject:

1. I try to create account move template with the possibility to define a
date for the move.
Keyword Name: dd
Keyword Type: date
Input field: Date
Input format: {dd}

When a move is created from the template, I get a warning:  "The field
"Effective Date" on "Account Move" is required."  How to set-up an
effective move date in the template? Any other possibilities to overcome
this warning?
As the tooltip of the field date of the template said, you can leave it
empty for today or you have to put a keyword as value.

2. I try to create account move template with the possibility to define
different debit and credit amounts for the Amounts Fields in Move Lines.
Keyword Name: am
Keyword Type: numeric
Keyword Digits: 0.00

Input field Debit Line Amount: {am}
Input field Credit Line Amount: {am}

When creating a move from such a template, the following mistake is
returned: "Set is not available in this evaluator"
Is it a bug or improper amount settings for the Move Template? What should
be a proper configuration of Move Template to define amounts for a move?
I never see this error message and it is not from Tryton (at least this
string does not exist in Tryton).

I get the same mistake in Tryton 4.4. demo version, using GTK client as well.
I managed to reproduce the error. The problem is that you used {} to sorround the am variable. You just have to use "am" (without quotes) to make it work correctly.


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
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/tryton/60b1c173-bed6-55c6-a246-baa5a4307902%40koolpi.com.

Reply via email to