10
.. i18n: single: warning
11
.. i18n: single: alerts
12
.. i18n: single: module; warning
18
single: module; warning
20
.. i18n: To manage alerts on products or partners, you can install the :mod:`warning` module. Once that is
21
.. i18n: installed, you will be able to configure a series of alerts on the partners or products by
22
.. i18n: setting parameters in the new :guilabel:`Warnings` tab on each of the forms.
25
To manage alerts on products or partners, you can install the :mod:`warning` module. Once that is
26
installed, you will be able to configure a series of alerts on the partners or products by
27
setting parameters in the new :guilabel:`Warnings` tab on each of the forms.
29
.. i18n: You can select any of the following types of warnings and create different warnings for purchases and for sales:
32
You can select any of the following types of warnings and create different warnings for purchases and for sales:
34
.. i18n: * :guilabel:`No Message`: This option will not display a message.
36
.. i18n: * :guilabel:`Warning`: This option will show the user the message entered.
38
.. i18n: * :guilabel:`Blocking Message`: The message displayed will cause an exception and block the workflow.
41
* :guilabel:`No Message`: This option will not display a message.
43
* :guilabel:`Warning`: This option will show the user the message entered.
45
* :guilabel:`Blocking Message`: The message displayed will cause an exception and block the workflow.
47
.. i18n: You can activate alerts for a series of events. For each alert, you should enter a message that will
48
.. i18n: be displayed when the event concerned is started.
51
You can activate alerts for a series of events. For each alert, you should enter a message that will
52
be displayed when the event concerned is started.
54
.. i18n: .. figure:: images/warning_partner.png
56
.. i18n: :align: center
58
.. i18n: *Management of alerts on partners*
61
.. figure:: images/warning_partner.png
65
*Management of alerts on partners*
67
.. i18n: The available warnings in the partner form are:
70
The available warnings in the partner form are:
72
.. i18n: * Create a warning for a sales order,
74
.. i18n: * Create a warning for a purchase order,
76
.. i18n: * Create a warning for a delivery to a partner (or receiving an item),
78
.. i18n: * Create a warning when invoicing a partner.
81
* Create a warning for a sales order,
83
* Create a warning for a purchase order,
85
* Create a warning for a delivery to a partner (or receiving an item),
87
* Create a warning when invoicing a partner.
89
.. i18n: For example, if you enter an alert for the invoicing of a customer, for an accountant entering an
90
.. i18n: invoice for that customer, the alert message will be attached as shown in the figure :ref:`fig-warnsmp`.
93
For example, if you enter an alert for the invoicing of a customer, for an accountant entering an
94
invoice for that customer, the alert message will be attached as shown in the figure :ref:`fig-warnsmp`.
96
.. i18n: .. _fig-warnsmp:
98
.. i18n: .. figure:: images/warning_sample.png
100
.. i18n: :align: center
102
.. i18n: *Alert from Invoicing a Customer*
107
.. figure:: images/warning_sample.png
111
*Alert from Invoicing a Customer*
113
.. i18n: .. figure:: images/warning_product.png
115
.. i18n: :align: center
117
.. i18n: *Management of Alerts on Products*
120
.. figure:: images/warning_product.png
124
*Management of Alerts on Products*
126
.. i18n: The alerts that can be configured on a product form are related to:
129
The alerts that can be configured on a product form are related to:
131
.. i18n: * The sales of that product,
133
.. i18n: * The purchase of that product.
136
* The sales of that product,
138
* The purchase of that product.
140
.. i18n: A practical example:
145
.. i18n: Now when could you use such an alert? Suppose that your customer asks you to never make any deliveries on Tuesday morning, because the street is blocked due to a weekly market. You surely would like your transporter to be aware of this, so it could be useful to have a kind of message printed by default on each delivery order for this customer.
146
.. i18n: To do this, you could create a Warning on the Picking in the **Customer** form of the partner concerned, saying that no deliveries are allowed on Tuesday morning.
149
Now when could you use such an alert? Suppose that your customer asks you to never make any deliveries on Tuesday morning, because the street is blocked due to a weekly market. You surely would like your transporter to be aware of this, so it could be useful to have a kind of message printed by default on each delivery order for this customer.
150
To do this, you could create a Warning on the Picking in the **Customer** form of the partner concerned, saying that no deliveries are allowed on Tuesday morning.
152
.. i18n: .. Copyright © Open Object Press. All rights reserved.
155
.. Copyright © Open Object Press. All rights reserved.
157
.. i18n: .. You may take electronic copy of this publication and distribute it if you don't
158
.. i18n: .. change the content. You can also print a copy to be read by yourself only.
161
.. You may take electronic copy of this publication and distribute it if you don't
162
.. change the content. You can also print a copy to be read by yourself only.
164
.. i18n: .. We have contracts with different publishers in different countries to sell and
165
.. i18n: .. distribute paper or electronic based versions of this book (translated or not)
166
.. i18n: .. in bookstores. This helps to distribute and promote the OpenERP product. It
167
.. i18n: .. also helps us to create incentives to pay contributors and authors using author
168
.. i18n: .. rights of these sales.
171
.. We have contracts with different publishers in different countries to sell and
172
.. distribute paper or electronic based versions of this book (translated or not)
173
.. in bookstores. This helps to distribute and promote the OpenERP product. It
174
.. also helps us to create incentives to pay contributors and authors using author
175
.. rights of these sales.
177
.. i18n: .. Due to this, grants to translate, modify or sell this book are strictly
178
.. i18n: .. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
179
.. i18n: .. written authorisation for this.
182
.. Due to this, grants to translate, modify or sell this book are strictly
183
.. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
184
.. written authorisation for this.
186
.. i18n: .. Many of the designations used by manufacturers and suppliers to distinguish their
187
.. i18n: .. products are claimed as trademarks. Where those designations appear in this book,
188
.. i18n: .. and Open Object Press was aware of a trademark claim, the designations have been
189
.. i18n: .. printed in initial capitals.
192
.. Many of the designations used by manufacturers and suppliers to distinguish their
193
.. products are claimed as trademarks. Where those designations appear in this book,
194
.. and Open Object Press was aware of a trademark claim, the designations have been
195
.. printed in initial capitals.
197
.. i18n: .. While every precaution has been taken in the preparation of this book, the publisher
198
.. i18n: .. and the authors assume no responsibility for errors or omissions, or for damages
199
.. i18n: .. resulting from the use of the information contained herein.
202
.. While every precaution has been taken in the preparation of this book, the publisher
203
.. and the authors assume no responsibility for errors or omissions, or for damages
204
.. resulting from the use of the information contained herein.
206
.. i18n: .. Published by Open Object Press, Grand Rosière, Belgium
209
.. Published by Open Object Press, Grand Rosière, Belgium