Skip to content

Commit af892c4

Browse files
committed
[FIX] readme and template email
1 parent fc6ee33 commit af892c4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

hr_expense_substate/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ the order can not be approved without document checked and verified
4242
Usage
4343
=====
4444

45-
#. Go to ** Settings > Technical > Database Structure ** and Add "Base substate".
46-
If necessery you can add "target State values" (ex define a substate for "cancel"
45+
#. Go to ** Settings > Technical > Sub State Configuration > Base Substate ** and add a "Base Substate".
46+
If necessary you can add "target State values" (e.g. define a substate for "cancel"
4747
state).
4848
Substate sequence is very important.
4949
#. Create a expense report and check if the substate are displayed on the header of

hr_expense_substate/data/hr_expense_substate_mail_template_data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<field name="name">Verified</field>
55
<field name="model_id" ref="hr_expense.model_hr_expense_sheet" />
66
<field name="subject">Your expense report {{ object.name }} is verified</field>
7-
<field name="use_default_to" eval="True" />
7+
<field name="email_to">{{ object.user_id.email_formatted }}</field>
88
<field name="body_html" type="html">
99
<div>
1010
Dear <t t-out="object.employee_id.name or 'Requester'" />,<br />

hr_expense_substate/readme/USAGE.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#. Go to ** Settings > Technical > Database Structure ** and Add "Base substate".
2-
If necessery you can add "target State values" (ex define a substate for "cancel"
1+
#. Go to ** Settings > Technical > Sub State Configuration > Base Substate ** and add a "Base Substate".
2+
If necessary you can add "target State values" (e.g. define a substate for "cancel"
33
state).
44
Substate sequence is very important.
55
#. Create a expense report and check if the substate are displayed on the header of

hr_expense_substate/static/description/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ <h1 class="title">Expense Report Sub State</h1>
391391
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
392392
<ol class="arabic simple">
393393
<li><dl class="first docutils">
394-
<dt>Go to ** Settings &gt; Technical &gt; Database Structure ** and Add “Base substate”.</dt>
395-
<dd>If necessery you can add “target State values” (ex define a substate for “cancel”
394+
<dt>Go to ** Settings &gt; Technical &gt; Sub State Configuration &gt; Base Substate ** and add a “Base Substate”.</dt>
395+
<dd>If necessary you can add “target State values” (e.g. define a substate for “cancel”
396396
state).
397397
Substate sequence is very important.</dd>
398398
</dl>

0 commit comments

Comments
 (0)