2
.. i18n: Testing a Purchase-Sale workflow
3
.. i18n: ================================
6
Testing a Purchase-Sale workflow
7
================================
9
.. i18n: To familiarize yourself with the system workflow you'll test a purchase-sale workflow in two phases.
12
To familiarize yourself with the system workflow you'll test a purchase-sale workflow in two phases.
14
.. i18n: The first consists of product purchase, which requires the following operations:
17
The first consists of product purchase, which requires the following operations:
19
.. i18n: #. Place a purchase order with Plumbing Component Suppliers for 10 Titanium Alloy Radiators at a
20
.. i18n: unit price of 56.00.
22
.. i18n: #. Receive these products at your Goods In.
24
.. i18n: #. Generate a purchase invoice.
26
.. i18n: #. Pay your supplier.
29
#. Place a purchase order with Plumbing Component Suppliers for 10 Titanium Alloy Radiators at a
32
#. Receive these products at your Goods In.
34
#. Generate a purchase invoice.
38
.. i18n: Following this, you'll sell some of these products, using this sequence:
41
Following this, you'll sell some of these products, using this sequence:
43
.. i18n: #. Receive a sales order for 6 Titanium Alloy Radiators from Smith and Sons, sold at a unit price
46
.. i18n: #. Despatch the products.
48
.. i18n: #. Invoice the customer.
50
.. i18n: #. Receive the payment.
53
#. Receive a sales order for 6 Titanium Alloy Radiators from Smith and Sons, sold at a unit price
56
#. Despatch the products.
58
#. Invoice the customer.
60
#. Receive the payment.
64
.. i18n: Purchase Order
65
.. i18n: --------------
73
.. i18n: To place a Purchase Order with your supplier, use the menu :menuselection:`Purchase Management -->
74
.. i18n: New Purchase Order` for a new Purchase Order form.
77
To place a Purchase Order with your supplier, use the menu :menuselection:`Purchase Management -->
78
New Purchase Order` for a new Purchase Order form.
80
.. i18n: Complete the following field:
83
Complete the following field:
85
.. i18n: * :guilabel:`Supplier` : \ ``Plumbing Component Suppliers``\ .
88
* :guilabel:`Supplier` : \ ``Plumbing Component Suppliers``\ .
90
.. i18n: As you complete the :guilabel:`Supplier` field, Open ERP automatically completes the
91
.. i18n: :guilabel:`Address` field and the :guilabel:`Price List` field from information it takes out of the
92
.. i18n: Partner record. Then click on the :guilabel:`Save Parent Record.` icon to the right of
93
.. i18n: the :guilabel:`Order Line` field. This automatically saves the body of the :guilabel:`Purchase
94
.. i18n: Order`, and changes to a :guilabel:`Create New Record.` icon. Click that to open the
95
.. i18n: :guilabel:`Purchase Order Line` window.
98
As you complete the :guilabel:`Supplier` field, Open ERP automatically completes the
99
:guilabel:`Address` field and the :guilabel:`Price List` field from information it takes out of the
100
Partner record. Then click on the :guilabel:`Save Parent Record.` icon to the right of
101
the :guilabel:`Order Line` field. This automatically saves the body of the :guilabel:`Purchase
102
Order`, and changes to a :guilabel:`Create New Record.` icon. Click that to open the
103
:guilabel:`Purchase Order Line` window.
105
.. i18n: Enter the following information
108
Enter the following information
110
.. i18n: * :guilabel:`Product` : \ ``Titanium Alloy Radiator``\ - type in part of this name then
111
.. i18n: press the tab key to complete it, or click the
112
.. i18n: :guilabel:`Search` icon at the end of the line to bring a search box,
115
* :guilabel:`Product` : \ ``Titanium Alloy Radiator``\ - type in part of this name then
116
press the tab key to complete it, or click the
117
:guilabel:`Search` icon at the end of the line to bring a search box,
119
.. i18n: When you've selected a product on the product line, Open ERP automatically completes the following
120
.. i18n: fields from information it finds in the Product record:
123
When you've selected a product on the product line, Open ERP automatically completes the following
124
fields from information it finds in the Product record:
126
.. i18n: * :guilabel:`Product UOM` : the unit of measure for this product,
128
.. i18n: * :guilabel:`Description` : the detailed description of the product,
130
.. i18n: * :guilabel:`Scheduled date` : based on the product lead time,
132
.. i18n: * :guilabel:`Unit price` : the unit price of the product,
134
.. i18n: * :guilabel:`Analytic account` : if any account is specified then it will appear on the order line (it's not in this example),
136
.. i18n: * :guilabel:`Taxes` : applicable taxes defined in the partner, if specified, otherwise in the
137
.. i18n: product, if specified (there aren't any in this example).
140
* :guilabel:`Product UOM` : the unit of measure for this product,
142
* :guilabel:`Description` : the detailed description of the product,
144
* :guilabel:`Scheduled date` : based on the product lead time,
146
* :guilabel:`Unit price` : the unit price of the product,
148
* :guilabel:`Analytic account` : if any account is specified then it will appear on the order line (it's not in this example),
150
* :guilabel:`Taxes` : applicable taxes defined in the partner, if specified, otherwise in the
151
product, if specified (there aren't any in this example).
153
.. i18n: You can edit any of these fields to suit the requirements of the purchase order at the time of
154
.. i18n: entry. Change the:
157
You can edit any of these fields to suit the requirements of the purchase order at the time of
160
.. i18n: * :guilabel:`Quantity` : \ ``10``\ ,
162
.. i18n: * :guilabel:`Unit Price` to \ ``56.00``\ .
165
* :guilabel:`Quantity` : \ ``10``\ ,
167
* :guilabel:`Unit Price` to \ ``56.00``\ .
169
.. i18n: Save the order line and close the :guilabel:`Purchase Order Line` window by clicking the
170
.. i18n: :guilabel:`Close` button. You can then confirm the whole one-line order by clicking
171
.. i18n: :guilabel:`Save`, which makes the form non-editable.
174
Save the order line and close the :guilabel:`Purchase Order Line` window by clicking the
175
:guilabel:`Close` button. You can then confirm the whole one-line order by clicking
176
:guilabel:`Save`, which makes the form non-editable.
178
.. i18n: It's now in a state of \ ``Request for
179
.. i18n: Quotation``\ , so click :guilabel:`Confirm Purchase Order`, which corresponds to an approval from
180
.. i18n: a manager or from Accounts within your own company and moves the order into \ ``Confirmed``\
181
.. i18n: state. Finally click :guilabel:`Approved by Supplier` to indicate the supplier's acknowledgment of the
182
.. i18n: order. The order becomes \ ``Approved``\ .
185
It's now in a state of \ ``Request for
186
Quotation``\ , so click :guilabel:`Confirm Purchase Order`, which corresponds to an approval from
187
a manager or from Accounts within your own company and moves the order into \ ``Confirmed``\
188
state. Finally click :guilabel:`Approved by Supplier` to indicate the supplier's acknowledgment of the
189
order. The order becomes \ ``Approved``\ .
191
.. i18n: If you click the :guilabel:`Delivery & Invoices` tab
192
.. i18n: you'll see the delivery :guilabel:`Destination` is your own company's ``Stock`` location and that
193
.. i18n: the invoice was created from the order and is ``SI: PO001``.
194
.. i18n: It's not entirely obvious at this stage, but the invoice is in a draft state so it can be
195
.. i18n: edited and, crucially, has no accounting impact yet: it's just ready for your accounting
196
.. i18n: group to activate it.
199
If you click the :guilabel:`Delivery & Invoices` tab
200
you'll see the delivery :guilabel:`Destination` is your own company's ``Stock`` location and that
201
the invoice was created from the order and is ``SI: PO001``.
202
It's not entirely obvious at this stage, but the invoice is in a draft state so it can be
203
edited and, crucially, has no accounting impact yet: it's just ready for your accounting
204
group to activate it.
206
.. i18n: Receiving Goods
207
.. i18n: ---------------
213
.. i18n: After confirming the order you'd wait for the delivery of the products from your supplier. Typically
214
.. i18n: this would be somebody in Stores, who would:
217
After confirming the order you'd wait for the delivery of the products from your supplier. Typically
218
this would be somebody in Stores, who would:
220
.. i18n: #. Open the menu :menuselection:`Stock Management --> Incoming Products --> Packings
221
.. i18n: to Process` using the expand/collapse icon.
223
.. i18n: .. note:: From the Purchase Order
225
.. i18n: You could have clicked the :guilabel:`Packing` link to the right of the Purchase Order
226
.. i18n: to reach the same screen, but this would confuse the purchasing role with the
227
.. i18n: stores role. That link is very useful during testing and training, however.
229
.. i18n: #. When the :guilabel:`Packing` window appears, select the name of the entry in the list
230
.. i18n: (\ ``PACK1``\) to display the Packing List itself – you'd usually do a search for the supplier name
231
.. i18n: or order number in a list that was larger than this – then click :guilabel:`Products Received` to load the
232
.. i18n: :guilabel:`Make Packing` form.
234
.. i18n: #. Click :guilabel:`Make Picking` to indicate that you're receiving the whole quantity of 10 units.
237
#. Open the menu :menuselection:`Stock Management --> Incoming Products --> Packings
238
to Process` using the expand/collapse icon.
240
.. note:: From the Purchase Order
242
You could have clicked the :guilabel:`Packing` link to the right of the Purchase Order
243
to reach the same screen, but this would confuse the purchasing role with the
244
stores role. That link is very useful during testing and training, however.
246
#. When the :guilabel:`Packing` window appears, select the name of the entry in the list
247
(\ ``PACK1``\) to display the Packing List itself – you'd usually do a search for the supplier name
248
or order number in a list that was larger than this – then click :guilabel:`Products Received` to load the
249
:guilabel:`Make Packing` form.
251
#. Click :guilabel:`Make Picking` to indicate that you're receiving the whole quantity of 10 units.
253
.. i18n: At this point you've accepted 10 units into your company, in a location that you've already seen.
256
At this point you've accepted 10 units into your company, in a location that you've already seen.
258
.. i18n: To check actual stock levels, use the menu :menuselection:`Stock Management --> Stock Locations Structure`,
259
.. i18n: find \ ``Stock``\ in the hierarchy under :guilabel:`Physical Locations`,
260
.. i18n: using the expand/collapse controls to make your way through
261
.. i18n: the tree and click it. You'll next get a :guilabel:`View Stock of Products` screen, where you just
262
.. i18n: click :guilabel:`Open Products` to select everything that the system knows.
265
To check actual stock levels, use the menu :menuselection:`Stock Management --> Stock Locations Structure`,
266
find \ ``Stock``\ in the hierarchy under :guilabel:`Physical Locations`,
267
using the expand/collapse controls to make your way through
268
the tree and click it. You'll next get a :guilabel:`View Stock of Products` screen, where you just
269
click :guilabel:`Open Products` to select everything that the system knows.
271
.. i18n: You'll see that :guilabel:`Products: Stock` shows everything in the \ ``Stock`` \ location (and below it) with
272
.. i18n: :guilabel:`Real stock` (the actual quantity recorded) and
273
.. i18n: :guilabel:`Future stock` (the quantities expected in future when all receipts and despatches have
274
.. i18n: been made) – both \ ``10``\ in this case.
277
You'll see that :guilabel:`Products: Stock` shows everything in the \ ``Stock`` \ location (and below it) with
278
:guilabel:`Real stock` (the actual quantity recorded) and
279
:guilabel:`Future stock` (the quantities expected in future when all receipts and despatches have
280
been made) – both \ ``10``\ in this case.
282
.. i18n: Alternatively you could have clicked the \ ``Ambitious Plumbing Enterprises`` \ line to highlight it
283
.. i18n: (the line, not the \ ``Ambitious Plumbing Enterprises`` \ text itself), and then click the
284
.. i18n: :guilabel:`Lots by Location` button in the :guilabel:`Reports` to the top right of the form.
285
.. i18n: You'll see that you've now got \ ``10``\ pieces of \ ``Titanium Alloy Radiator``\ in the location
286
.. i18n: \ ``Stock``\ and also in the location \ ``Ambitious Plumbing Enterprises`` \ , its parent
287
.. i18n: as shown in the figure :ref:`fig-lotsbyloc`.
288
.. i18n: If you explore further you'll also see you have ``-10``\ pieces in the Partner Location \ ``Suppliers``\ .
291
Alternatively you could have clicked the \ ``Ambitious Plumbing Enterprises`` \ line to highlight it
292
(the line, not the \ ``Ambitious Plumbing Enterprises`` \ text itself), and then click the
293
:guilabel:`Lots by Location` button in the :guilabel:`Reports` to the top right of the form.
294
You'll see that you've now got \ ``10``\ pieces of \ ``Titanium Alloy Radiator``\ in the location
295
\ ``Stock``\ and also in the location \ ``Ambitious Plumbing Enterprises`` \ , its parent
296
as shown in the figure :ref:`fig-lotsbyloc`.
297
If you explore further you'll also see you have ``-10``\ pieces in the Partner Location \ ``Suppliers``\ .
299
.. i18n: .. _fig-lotsbyloc:
301
.. i18n: .. figure:: images/lots_by_location_pdf.png
303
.. i18n: :align: center
305
.. i18n: *List of products and their stock levels*
310
.. figure:: images/lots_by_location_pdf.png
314
*List of products and their stock levels*
316
.. i18n: .. tip:: Traceability in double-entry
318
.. i18n: Open ERP operates a double-entry stock transfer scheme similar to double-entry accounting.
319
.. i18n: Because of this you can carry out various analyses of stock levels in your warehouse,
320
.. i18n: along with the corresponding levels in Partner Location at your Supplier.
321
.. i18n: The double-entry system, analogous to that of accounting, enables you to keep track
322
.. i18n: of stock movements quite easily, and to resolve any errors that occur.
325
.. tip:: Traceability in double-entry
327
Open ERP operates a double-entry stock transfer scheme similar to double-entry accounting.
328
Because of this you can carry out various analyses of stock levels in your warehouse,
329
along with the corresponding levels in Partner Location at your Supplier.
330
The double-entry system, analogous to that of accounting, enables you to keep track
331
of stock movements quite easily, and to resolve any errors that occur.
333
.. i18n: Control of purchase invoices
334
.. i18n: ----------------------------
337
Control of purchase invoices
338
----------------------------
340
.. i18n: When you've received an invoice from your supplier (which would usually be sent to your Accounts department)
341
.. i18n: go to the menu :menuselection:`Financial Management --> Invoices --> Supplier Invoices --> Draft
342
.. i18n: Supplier Invoices` to open a list of supplier invoices waiting for receipt.
343
.. i18n: These invoices enable your Accounts Department to match the the price and quantities
344
.. i18n: ordered against the price and quantities on the supplier's invoice (and since it's not uncommon to receive
345
.. i18n: an invoice showing details more favourable to the supplier than those agreed at the time of
346
.. i18n: purchase, this is a useful function).
349
When you've received an invoice from your supplier (which would usually be sent to your Accounts department)
350
go to the menu :menuselection:`Financial Management --> Invoices --> Supplier Invoices --> Draft
351
Supplier Invoices` to open a list of supplier invoices waiting for receipt.
352
These invoices enable your Accounts Department to match the the price and quantities
353
ordered against the price and quantities on the supplier's invoice (and since it's not uncommon to receive
354
an invoice showing details more favourable to the supplier than those agreed at the time of
355
purchase, this is a useful function).
357
.. i18n: In this example, you created an invoice automatically when you confirmed the supplier's Purchase
358
.. i18n: Order. That's because the :guilabel:`Invoicing Control` field on the order was set to \ ``From
359
.. i18n: Order``\ (the default option). Other options enable you to create invoices at the time of
360
.. i18n: receiving goods or manually. The initial state of an invoice is \ ``Draft``\ .
363
In this example, you created an invoice automatically when you confirmed the supplier's Purchase
364
Order. That's because the :guilabel:`Invoicing Control` field on the order was set to \ ``From
365
Order``\ (the default option). Other options enable you to create invoices at the time of
366
receiving goods or manually. The initial state of an invoice is \ ``Draft``\ .
368
.. i18n: Now click the invoice for your order \ ``PO001``\ to display its contents. You can compare the
369
.. i18n: goods that you've recorded there with the invoice received from your supplier. If there's a
370
.. i18n: difference it's possible to change the order lines to, for example, add a delivery charge. Click
371
.. i18n: :guilabel:`Validate` to confirm the invoice and put it into the \ ``Open`` \ state.
374
Now click the invoice for your order \ ``PO001``\ to display its contents. You can compare the
375
goods that you've recorded there with the invoice received from your supplier. If there's a
376
difference it's possible to change the order lines to, for example, add a delivery charge. Click
377
:guilabel:`Validate` to confirm the invoice and put it into the \ ``Open`` \ state.
379
.. i18n: Accounting entries are generated automatically once the invoice is validated. To see the effects on
380
.. i18n: your chart of accounts, use the menu :menuselection:`Financial Management --> Charts --> Chart of
381
.. i18n: Accounts` ,then click :guilabel:`Open Charts` at the :guilabel:`Account charts` page to see that you
382
.. i18n: have a debit of ``560.00`` in the ``Purchases`` account and a credit of ``560.00`` in
383
.. i18n: the ``Payable`` account.
386
Accounting entries are generated automatically once the invoice is validated. To see the effects on
387
your chart of accounts, use the menu :menuselection:`Financial Management --> Charts --> Chart of
388
Accounts` ,then click :guilabel:`Open Charts` at the :guilabel:`Account charts` page to see that you
389
have a debit of ``560.00`` in the ``Purchases`` account and a credit of ``560.00`` in
390
the ``Payable`` account.
392
.. i18n: Paying the supplier
393
.. i18n: -------------------
399
.. i18n: Select the menu :menuselection:`Financial Management --> Invoices --> Supplier Invoices --> Unpaid
400
.. i18n: Supplier Invoices` for a list of supplier invoices that haven't yet been paid. Click the
401
.. i18n: ``PO001`` text itself to open the invoice in read-only mode.
402
.. i18n: In practice you'd search for the invoice by order number or,
403
.. i18n: more generally, for invoices nearing their payment date.
406
Select the menu :menuselection:`Financial Management --> Invoices --> Supplier Invoices --> Unpaid
407
Supplier Invoices` for a list of supplier invoices that haven't yet been paid. Click the
408
``PO001`` text itself to open the invoice in read-only mode.
409
In practice you'd search for the invoice by order number or,
410
more generally, for invoices nearing their payment date.
412
.. i18n: Click :guilabel:`Pay Invoice` in the toolbar to the right of the form, which opens a
413
.. i18n: :guilabel:`Pay invoice` window with a description of the payment.
414
.. i18n: Type ``Pay Supplier`` in the :guilabel:`Entry Name` field, and
415
.. i18n: select \ ``Bank Journal``\ in the :guilabel:`Journal/Payment Mode` field. Then
416
.. i18n: click :guilabel:`Full Payment` to the top left of the form, which carries out the payment action
417
.. i18n: within Open ERP and returns you to the invoice. Although this invoice is still in the
418
.. i18n: :guilabel:`Unpaid Invoices` screen, you can see it is actually paid because the
419
.. i18n: :guilabel:`Paid/Reconciled` box is now checked and the :guilabel:`State` is now ``Done`` .
422
Click :guilabel:`Pay Invoice` in the toolbar to the right of the form, which opens a
423
:guilabel:`Pay invoice` window with a description of the payment.
424
Type ``Pay Supplier`` in the :guilabel:`Entry Name` field, and
425
select \ ``Bank Journal``\ in the :guilabel:`Journal/Payment Mode` field. Then
426
click :guilabel:`Full Payment` to the top left of the form, which carries out the payment action
427
within Open ERP and returns you to the invoice. Although this invoice is still in the
428
:guilabel:`Unpaid Invoices` screen, you can see it is actually paid because the
429
:guilabel:`Paid/Reconciled` box is now checked and the :guilabel:`State` is now ``Done`` .
432
.. i18n: single: module; account
436
single: module; account
438
.. i18n: .. note:: Payment of an invoice
440
.. i18n: The method described here is for companies that don't use their accounting system to pay bills –
441
.. i18n: just to record them.
442
.. i18n: If you're using the :mod:`account` module fully other, more efficient, methods let you manage payments,
443
.. i18n: such as entering account statements, reconciling paperwork, using tools for preparing payments,
444
.. i18n: interfacing with banks.
447
.. note:: Payment of an invoice
449
The method described here is for companies that don't use their accounting system to pay bills –
451
If you're using the :mod:`account` module fully other, more efficient, methods let you manage payments,
452
such as entering account statements, reconciling paperwork, using tools for preparing payments,
453
interfacing with banks.
455
.. i18n: You can monitor the accounting impact of paying the invoice through the chart of accounts available
456
.. i18n: from the menu :menuselection:`Financial Management --> Charts --> Chart of Accounts`. Open ERP
457
.. i18n: automatically creates accounting entries from the payment and can reconcile the payment to the
458
.. i18n: invoice. You now have a new transaction that has debited the ``Payable`` account with ``560.00`` and
459
.. i18n: credited the ``Cash`` account.
462
You can monitor the accounting impact of paying the invoice through the chart of accounts available
463
from the menu :menuselection:`Financial Management --> Charts --> Chart of Accounts`. Open ERP
464
automatically creates accounting entries from the payment and can reconcile the payment to the
465
invoice. You now have a new transaction that has debited the ``Payable`` account with ``560.00`` and
466
credited the ``Cash`` account.
468
.. i18n: If you look in :menuselection:`Financial Management --> Reporting --> Journals` you'll see both
469
.. i18n: accounting transactions, one in each of the ``Purchase`` Journal and ``Bank`` Journal in
470
.. i18n: ``Draft`` state.
473
If you look in :menuselection:`Financial Management --> Reporting --> Journals` you'll see both
474
accounting transactions, one in each of the ``Purchase`` Journal and ``Bank`` Journal in
477
.. i18n: From Sales Proposal to Sales Order
478
.. i18n: ----------------------------------
481
From Sales Proposal to Sales Order
482
----------------------------------
484
.. i18n: In Open ERP, sales proposals and sales orders are managed using documents that are based on the
485
.. i18n: same common functionality as purchase orders, so you'll recognize the following documents in general
486
.. i18n: but see changes to their detail and to their workflows. To create a new sales proposal, use the
487
.. i18n: menu :menuselection:`Sales Management --> Sales Orders --> New Quotation` which creates a new order in a state of \
488
.. i18n: ``Quotation``\ , then:
491
In Open ERP, sales proposals and sales orders are managed using documents that are based on the
492
same common functionality as purchase orders, so you'll recognize the following documents in general
493
but see changes to their detail and to their workflows. To create a new sales proposal, use the
494
menu :menuselection:`Sales Management --> Sales Orders --> New Quotation` which creates a new order in a state of \
495
``Quotation``\ , then:
497
.. i18n: #. Select the :guilabel:`Customer` \ ``Smith and Offspring``\ . This has the effect of automatically
498
.. i18n: completing several other fields: :guilabel:`Ordering Contact`, :guilabel:`Invoice Address`,
499
.. i18n: :guilabel:`Shipping Address`, and the :guilabel:`Pricelist` \ ``Public Pricelist``\. They're
500
.. i18n: all only defaults so these fields can be modified as you need.
502
.. i18n: #. Click the :guilabel:`Save parent record.` icon to the right of the
503
.. i18n: :guilabel:`Sales Order Lines` field. It saves the main order form and becomes a new
504
.. i18n: :guilabel:`Create new record.` icon. Click that to open a :guilabel:`Sales Order Lines` window.
506
.. i18n: #. Select the product \ ``Titanium Alloy Radiator``\ Although the :guilabel:`Product` field isn't
507
.. i18n: itself required, it's used by Open ERP to select the specific product so that several other fields
508
.. i18n: can be automatically completed on the order line of the proposal, such as :guilabel:`Description`,
509
.. i18n: :guilabel:`Product UoM`, :guilabel:`Unit Price`, :guilabel:`Procure Method`,
510
.. i18n: :guilabel:`Delivery Delay`, and :guilabel:`Taxes`.
512
.. i18n: #. Change the :guilabel:`Quantity` to \ ``6``\ and the :guilabel:`Unit Price` to \ ``130.00``\
513
.. i18n: Then click :guilabel:`Save` and the line appears on the quotation form. A blank order line form
514
.. i18n: reappears so that you can enter another line, but it's enough now just to click :guilabel:`Close`
515
.. i18n: to return to the order form.
517
.. i18n: #. On the :guilabel:`Other data` tab of this Sales Order select a
518
.. i18n: :guilabel:`Packing Policy` of ``Complete Delivery`` and
519
.. i18n: :guilabel:`Shipping Policy` of ``Invoice on Order After Delivery`` from their dropdown menu lists.
521
.. i18n: #. Return to the first tab :guilabel:`Sale Order` and validate the document by clicking
522
.. i18n: :guilabel:`Confirm Order` which calculates prices and the changes the order's state from \
523
.. i18n: ``Quotation``\ to \ ``In Progress``\ as shown in screenshot :ref:`fig-ch03ord`.
524
.. i18n: If you were in negotiation with the prospective customer
525
.. i18n: you'd keep clicking :guilabel:`Compute` and :guilabel:`Save` keeping the document in \
526
.. i18n: ``Quotation``\ state for as long as necessary.
529
#. Select the :guilabel:`Customer` \ ``Smith and Offspring``\ . This has the effect of automatically
530
completing several other fields: :guilabel:`Ordering Contact`, :guilabel:`Invoice Address`,
531
:guilabel:`Shipping Address`, and the :guilabel:`Pricelist` \ ``Public Pricelist``\. They're
532
all only defaults so these fields can be modified as you need.
534
#. Click the :guilabel:`Save parent record.` icon to the right of the
535
:guilabel:`Sales Order Lines` field. It saves the main order form and becomes a new
536
:guilabel:`Create new record.` icon. Click that to open a :guilabel:`Sales Order Lines` window.
538
#. Select the product \ ``Titanium Alloy Radiator``\ Although the :guilabel:`Product` field isn't
539
itself required, it's used by Open ERP to select the specific product so that several other fields
540
can be automatically completed on the order line of the proposal, such as :guilabel:`Description`,
541
:guilabel:`Product UoM`, :guilabel:`Unit Price`, :guilabel:`Procure Method`,
542
:guilabel:`Delivery Delay`, and :guilabel:`Taxes`.
544
#. Change the :guilabel:`Quantity` to \ ``6``\ and the :guilabel:`Unit Price` to \ ``130.00``\
545
Then click :guilabel:`Save` and the line appears on the quotation form. A blank order line form
546
reappears so that you can enter another line, but it's enough now just to click :guilabel:`Close`
547
to return to the order form.
549
#. On the :guilabel:`Other data` tab of this Sales Order select a
550
:guilabel:`Packing Policy` of ``Complete Delivery`` and
551
:guilabel:`Shipping Policy` of ``Invoice on Order After Delivery`` from their dropdown menu lists.
553
#. Return to the first tab :guilabel:`Sale Order` and validate the document by clicking
554
:guilabel:`Confirm Order` which calculates prices and the changes the order's state from \
555
``Quotation``\ to \ ``In Progress``\ as shown in screenshot :ref:`fig-ch03ord`.
556
If you were in negotiation with the prospective customer
557
you'd keep clicking :guilabel:`Compute` and :guilabel:`Save` keeping the document in \
558
``Quotation``\ state for as long as necessary.
560
.. i18n: .. _fig-ch03ord:
562
.. i18n: .. figure:: images/order.png
564
.. i18n: :align: center
566
.. i18n: *Sales Order Form*
568
.. i18n: #. In the last tab of the order, :guilabel:`History` you can see the :guilabel:`Packing List`
569
.. i18n: that's been created and you'll be able to see any invoices that relate to this order when they're
575
.. figure:: images/order.png
581
#. In the last tab of the order, :guilabel:`History` you can see the :guilabel:`Packing List`
582
that's been created and you'll be able to see any invoices that relate to this order when they're
585
.. i18n: From the :guilabel:`Main Menu` click :menuselection:`Products --> Products` to display a list of
586
.. i18n: products: just the one, \ ``Titanium Alloy Radiator``\ , currently exists in this example. Its
587
.. i18n: :guilabel:`Real Stock` still shows \ ``10.00``\ but its :guilabel:`Virtual Stock` now shows \
588
.. i18n: ``4.00``\ to reflect the new future requirement of 6 units for despatch.
591
From the :guilabel:`Main Menu` click :menuselection:`Products --> Products` to display a list of
592
products: just the one, \ ``Titanium Alloy Radiator``\ , currently exists in this example. Its
593
:guilabel:`Real Stock` still shows \ ``10.00``\ but its :guilabel:`Virtual Stock` now shows \
594
``4.00``\ to reflect the new future requirement of 6 units for despatch.
596
.. i18n: Preparing goods for despatch to customers
597
.. i18n: -----------------------------------------
600
Preparing goods for despatch to customers
601
-----------------------------------------
603
.. i18n: The stores manager selects the menu :menuselection:`Stock Management --> Outgoing Products -->
604
.. i18n: Confirmed Packing Waiting Availability` to get a list of orders to despatch. In this
605
.. i18n: example there's only one, \ ``PACK2``\ , so click the text to open the
606
.. i18n: :guilabel:`Confirmed Packing Waiting Availability` form.
609
The stores manager selects the menu :menuselection:`Stock Management --> Outgoing Products -->
610
Confirmed Packing Waiting Availability` to get a list of orders to despatch. In this
611
example there's only one, \ ``PACK2``\ , so click the text to open the
612
:guilabel:`Confirmed Packing Waiting Availability` form.
615
.. i18n: single: module; mrp_jit
619
single: module; mrp_jit
621
.. i18n: .. tip:: Running Schedulers
623
.. i18n: At the moment your Sales Order is waiting for products to be reserved to fulfil it.
624
.. i18n: A stock reservation activity takes place periodically to calculate the needs,
625
.. i18n: which also takes customer priorities into account.
626
.. i18n: The calculation can be started from the menu
627
.. i18n: :menuselection:`Manufacturing --> Compute All Schedulers`.
628
.. i18n: Running this automatically reserves products.
630
.. i18n: If you don't want to have to work out your stock needs but have a lean workflow you can install the
631
.. i18n: :mod:`mrp_jit` (Just In Time) module.
634
.. tip:: Running Schedulers
636
At the moment your Sales Order is waiting for products to be reserved to fulfil it.
637
A stock reservation activity takes place periodically to calculate the needs,
638
which also takes customer priorities into account.
639
The calculation can be started from the menu
640
:menuselection:`Manufacturing --> Compute All Schedulers`.
641
Running this automatically reserves products.
643
If you don't want to have to work out your stock needs but have a lean workflow you can install the
644
:mod:`mrp_jit` (Just In Time) module.
646
.. i18n: Although Open ERP has automatically been made aware that items on this order will need to be
647
.. i18n: despatched, it has not yet assigned any specific items from any location to fulfil it. It's ready to
648
.. i18n: move \ ``6.00``\ \ ``Titanium Alloy Radiators``\ from the :guilabel:`Stock` location to the :guilabel:`Customers`
649
.. i18n: location, so start this process by clicking
650
.. i18n: :guilabel:`Check Availability`. The :guilabel:`Move` line has now changed from the \ ``Confirmed``\ state to
651
.. i18n: the \ ``Available``\ state.
654
Although Open ERP has automatically been made aware that items on this order will need to be
655
despatched, it has not yet assigned any specific items from any location to fulfil it. It's ready to
656
move \ ``6.00``\ \ ``Titanium Alloy Radiators``\ from the :guilabel:`Stock` location to the :guilabel:`Customers`
657
location, so start this process by clicking
658
:guilabel:`Check Availability`. The :guilabel:`Move` line has now changed from the \ ``Confirmed``\ state to
659
the \ ``Available``\ state.
661
.. i18n: Then click the :guilabel:`Packing Done` button to reach the :guilabel:`Make Packing` window, where
662
.. i18n: you click the :guilabel:`Make Picking` button to transfer the 6 radiators to the customer.
665
Then click the :guilabel:`Packing Done` button to reach the :guilabel:`Make Packing` window, where
666
you click the :guilabel:`Make Picking` button to transfer the 6 radiators to the customer.
668
.. i18n: To analyze stock movements that you've made during these operations use
669
.. i18n: :menuselection:`Stock Management --> Stock Locations Structure` to see that your stocks have reduced to
670
.. i18n: 4 radiators and the generic ``Customers`` location has a level of 6 radiators.
673
To analyze stock movements that you've made during these operations use
674
:menuselection:`Stock Management --> Stock Locations Structure` to see that your stocks have reduced to
675
4 radiators and the generic ``Customers`` location has a level of 6 radiators.
677
.. i18n: Invoicing Goods
678
.. i18n: ---------------
684
.. i18n: Use the menu :menuselection:`Financial Management --> Invoices --> Customer Invoices --> Draft
685
.. i18n: Customer Invoices` to open a list of Sales invoices generated by Open ERP. These are in the \ ``Draft``\
686
.. i18n: state, which means that they don't yet have any presence in the accounting system. You'll find a
687
.. i18n: draft invoice has been created for the order \ ``SO001``\ once you have despatched the goods
688
.. i18n: because you'd selected \ ``Invoice on Order After Delivery``\ .
691
Use the menu :menuselection:`Financial Management --> Invoices --> Customer Invoices --> Draft
692
Customer Invoices` to open a list of Sales invoices generated by Open ERP. These are in the \ ``Draft``\
693
state, which means that they don't yet have any presence in the accounting system. You'll find a
694
draft invoice has been created for the order \ ``SO001``\ once you have despatched the goods
695
because you'd selected \ ``Invoice on Order After Delivery``\ .
697
.. i18n: Once you confirm an invoice, Open ERP assigns it a unique number, and all of the corresponding
698
.. i18n: accounting entries are generated. So open the invoice and click :guilabel:`Create` to do that and
699
.. i18n: move the invoice into an \ ``Open``\ state with a number of ``2009/001``.
702
Once you confirm an invoice, Open ERP assigns it a unique number, and all of the corresponding
703
accounting entries are generated. So open the invoice and click :guilabel:`Create` to do that and
704
move the invoice into an \ ``Open``\ state with a number of ``2009/001``.
706
.. i18n: You can send your customer the invoice for payment at this stage. Click :guilabel:`Invoices` from
707
.. i18n: the :guilabel:`Reports` section of the toolbar at the right of the form to get a PDF document that
708
.. i18n: can be printed or emailed to the customer.
711
You can send your customer the invoice for payment at this stage. Click :guilabel:`Invoices` from
712
the :guilabel:`Reports` section of the toolbar at the right of the form to get a PDF document that
713
can be printed or emailed to the customer.
715
.. i18n: You can also attach the PDF document to the Open ERP invoice record. Save the PDF somewhere
716
.. i18n: convenient on your PC (such as on your desktop). Then click the :guilabel:`Add an attachment to this
717
.. i18n: resource` button to the top right of the invoice form (it looks like a clipboard). Browse to the
718
.. i18n: file you just saved (\ ``record.pdf``\ if you didn't change its name) from the
719
.. i18n: :guilabel:`Attachments` dialog box that pops up, and :guilabel:`Close` the dialog box. This gives you a
720
.. i18n: permanent non-editable record of your invoice on the Open ERP system.
723
You can also attach the PDF document to the Open ERP invoice record. Save the PDF somewhere
724
convenient on your PC (such as on your desktop). Then click the :guilabel:`Add an attachment to this
725
resource` button to the top right of the invoice form (it looks like a clipboard). Browse to the
726
file you just saved (\ ``record.pdf``\ if you didn't change its name) from the
727
:guilabel:`Attachments` dialog box that pops up, and :guilabel:`Close` the dialog box. This gives you a
728
permanent non-editable record of your invoice on the Open ERP system.
730
.. i18n: Review your chart of accounts to check the impact of these activities on your accounting. You'll see
731
.. i18n: the new revenue line from the invoice.
734
Review your chart of accounts to check the impact of these activities on your accounting. You'll see
735
the new revenue line from the invoice.
737
.. i18n: Customer Payment
738
.. i18n: ----------------
744
.. i18n: Registering an invoice payment by a customer is essentially the same as the process of paying a
745
.. i18n: supplier. From the menu :menuselection:`Financial Management --> Invoices --> Customer Invoices -->
746
.. i18n: Unpaid Customer Invoices`, click the name of the invoice that you want to mark as paid, or just
747
.. i18n: check its checkbox in the list:
750
Registering an invoice payment by a customer is essentially the same as the process of paying a
751
supplier. From the menu :menuselection:`Financial Management --> Invoices --> Customer Invoices -->
752
Unpaid Customer Invoices`, click the name of the invoice that you want to mark as paid, or just
753
check its checkbox in the list:
755
.. i18n: #. Use the :guilabel:`Pay Invoice` button in the :guilabel:`Action` section of the toolbar at the
756
.. i18n: right to open a window that enables you to register the payment.
758
.. i18n: #. Select the :guilabel:`Entry Name` and type ``Got paid by customer`` and
759
.. i18n: select the :guilabel:`Journal` to be ``Bank Journal`` .
761
.. i18n: #. Click :guilabel:`Full Payment`. The
762
.. i18n: invoice is then marked as paid, with its :guilabel:`Paid/Reconciled` box checked
763
.. i18n: as you can see if you select it again :ref:`fig_ch03faminv`.
766
#. Use the :guilabel:`Pay Invoice` button in the :guilabel:`Action` section of the toolbar at the
767
right to open a window that enables you to register the payment.
769
#. Select the :guilabel:`Entry Name` and type ``Got paid by customer`` and
770
select the :guilabel:`Journal` to be ``Bank Journal`` .
772
#. Click :guilabel:`Full Payment`. The
773
invoice is then marked as paid, with its :guilabel:`Paid/Reconciled` box checked
774
as you can see if you select it again :ref:`fig_ch03faminv`.
776
.. i18n: .. _fig_ch03faminv:
778
.. i18n: .. figure:: images/familiarization_invoice.png
780
.. i18n: :align: center
782
.. i18n: *Invoice Form*
787
.. figure:: images/familiarization_invoice.png
793
.. i18n: Check your Chart of Accounts as before to see that you now have a healthy bank balance in the \
794
.. i18n: ``Cash``\ account.
797
Check your Chart of Accounts as before to see that you now have a healthy bank balance in the \
800
.. i18n: .. Copyright © Open Object Press. All rights reserved.
803
.. Copyright © Open Object Press. All rights reserved.
805
.. i18n: .. You may take electronic copy of this publication and distribute it if you don't
806
.. i18n: .. change the content. You can also print a copy to be read by yourself only.
809
.. You may take electronic copy of this publication and distribute it if you don't
810
.. change the content. You can also print a copy to be read by yourself only.
812
.. i18n: .. We have contracts with different publishers in different countries to sell and
813
.. i18n: .. distribute paper or electronic based versions of this book (translated or not)
814
.. i18n: .. in bookstores. This helps to distribute and promote the OpenERP product. It
815
.. i18n: .. also helps us to create incentives to pay contributors and authors using author
816
.. i18n: .. rights of these sales.
819
.. We have contracts with different publishers in different countries to sell and
820
.. distribute paper or electronic based versions of this book (translated or not)
821
.. in bookstores. This helps to distribute and promote the OpenERP product. It
822
.. also helps us to create incentives to pay contributors and authors using author
823
.. rights of these sales.
825
.. i18n: .. Due to this, grants to translate, modify or sell this book are strictly
826
.. i18n: .. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
827
.. i18n: .. written authorisation for this.
830
.. Due to this, grants to translate, modify or sell this book are strictly
831
.. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
832
.. written authorisation for this.
834
.. i18n: .. Many of the designations used by manufacturers and suppliers to distinguish their
835
.. i18n: .. products are claimed as trademarks. Where those designations appear in this book,
836
.. i18n: .. and Open Object Press was aware of a trademark claim, the designations have been
837
.. i18n: .. printed in initial capitals.
840
.. Many of the designations used by manufacturers and suppliers to distinguish their
841
.. products are claimed as trademarks. Where those designations appear in this book,
842
.. and Open Object Press was aware of a trademark claim, the designations have been
843
.. printed in initial capitals.
845
.. i18n: .. While every precaution has been taken in the preparation of this book, the publisher
846
.. i18n: .. and the authors assume no responsibility for errors or omissions, or for damages
847
.. i18n: .. resulting from the use of the information contained herein.
850
.. While every precaution has been taken in the preparation of this book, the publisher
851
.. and the authors assume no responsibility for errors or omissions, or for damages
852
.. resulting from the use of the information contained herein.
854
.. i18n: .. Published by Open Object Press, Grand Rosière, Belgium
857
.. Published by Open Object Press, Grand Rosière, Belgium