On 2017-02-10 12:30, 'Artem Braga' via tryton wrote:
> Sergi, thank you so much with this explanation. 
> 
> I'm still facing an issue when creating Account.Move.Template. 
> 
> So, I create a template to book miscalleneous expenes:
> 
> Keywords: 
> - name: party
> - string: party
> - type: Party
> - Put this keyword as required. 
> 
> Template: 
> -Journal: Expenses
> -Line 1. Debit account Main Expense. In the Party field I put substitution 
> {party} and amount value 0
> -Line 2. Credit account Main Payable. In the Party field I put substitution 
> {party} and amount value 0
> -Both accounts Main Payable and Main Expense are tagged as party required. 
> 
> Now, when I'm creating a Move from this Template, I get a dialog window 
> where with party selection. I select a Party-supplier and press Create 
> button. After this I get an error: The field "Party" on "Account Move Line" 
> is required.
> 
> What can be the reason for such error? 

The value of the template line for party field must be the name of the
field (without the braces).

I have made a patch to improve the tooltips following [1]:
https://tryton-rietveld.appspot.com/34691002


[1] https://discuss.tryton.org/t/how-to-write-tooltips/212


PS: Please do not top-post on this mailing list, see
http://groups.tryton.org/netiquette
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
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/20170210211028.GQ83011%40tetsuo.

Reply via email to