diff --git a/account_move_template/models/account_move_template.py b/account_move_template/models/account_move_template.py
index 0d548249..6faaee54 100644
--- a/account_move_template/models/account_move_template.py
+++ b/account_move_template/models/account_move_template.py
@@ -117,6 +117,9 @@ class AccountMoveTemplateLine(models.Model):
python_code = fields.Text('Python Code')
move_line_type = fields.Selection(
[('cr', 'Credit'), ('dr', 'Debit')], required=True, string='Direction')
+ payment_term_id = fields.Many2one(
+ 'account.payment.term', string='Payment Terms',
+ help="Used to compute the due date of the journal item.")
_sql_constraints = [(
'sequence_template_uniq',
diff --git a/account_move_template/readme/USAGE.rst b/account_move_template/readme/USAGE.rst
index 568a47a7..8e4c574d 100644
--- a/account_move_template/readme/USAGE.rst
+++ b/account_move_template/readme/USAGE.rst
@@ -1,13 +1,13 @@
To create new templates:
-#. Make sure that you have flagged *Show Full Accounting Features* in your
+#. Make sure that you have flagged *Show Full Accounting Features* on your
user, and that the user belongs to the *Billing Manager* group.
-#. Go to *Invoicing / Configuration / Accounting / Journal Templates* and
- define there your template. You can choose to complete a line using a
- defined formula, based on other lines, or by requiring the user input.
+#. Go to *Invoicing / Configuration / Accounting / Journal Entry Templates* and
+ define there your templates. You can choose to complete a line using a
+ defined formula, based on other lines, or by requiring user input.
To use an existing template:
-#. Go to *Invoicing / Adviser / Accounting Entries / Create Journal Entry from Template*
-#. Select one of the available templates and optionally a partner.
-#. Complete the entries according to the template and press *Load*
+#. Go to *Invoicing / Accounting / Accounting Entries / Create Journal Entry from Template*
+#. Select one of the available templates.
+#. Complete the entries according to the template and click on the button *Generate Journal Entry*.
diff --git a/account_move_template/view/account_move_template.xml b/account_move_template/view/account_move_template.xml
index 03b2530d..cf0f7bce 100644
--- a/account_move_template/view/account_move_template.xml
+++ b/account_move_template/view/account_move_template.xml
@@ -16,6 +16,7 @@
+
@@ -28,24 +29,25 @@