Skip to content

Commit e1863c3

Browse files
robodooOdoo Online
authored andcommitted
[IMP] Inventory: change closing operation names in cheat sheet
The names of the accrual entry operations were updated. Plus new screenshots. (Plus a little dead code removal. 🤫) Task ID: [5107300](https://www.odoo.com/odoo/my-tasks/5107300) closes #15300 Forward-port-of: #15179 Signed-off-by: Felicia Kuan (feku) <feku@odoo.com> Signed-off-by: Lulu Grimalkin (lugr) <lugr@odoo.com>
2 parents 33069e4 + 07a872a commit e1863c3

File tree

7 files changed

+69
-67
lines changed

7 files changed

+69
-67
lines changed

content/applications/inventory_and_mrp/inventory/inventory_valuation/cheat_sheet.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,15 @@ thanks to the incoming moves with a remaining quantity, go to :menuselection:`Ac
399399

400400
To generate a new accounting entry to review and post, click :guilabel:`Generate Entry`.
401401

402+
.. h:div:: doc-aside
403+
404+
.. image:: cheat_sheet/valuation-accounting.png
405+
402406
To view a list of sales and purchase orders for which accrual entries should be encoded, go to
403-
:menuselection:`Accounting --> Review` and select the relevant menu item (:guilabel:`Invoices not
404-
received`, :guilabel:`Invoices to be issued`, :guilabel:`Prepaid expenses`, or :guilabel:`Deferred
405-
Revenues`).
407+
:menuselection:`Accounting --> Review` and select the relevant menu item (:guilabel:`Bill To
408+
Receive`, :guilabel:`Invoices To Be Issued`, :guilabel:`Billed Not Received` and :guilabel:`Invoiced
409+
Not Delivered`). Select the desired lines and click :guilabel:`Create Accrual
410+
Entries`.
406411

407412
With Anglo-Saxon perpetual accounting, this will also help to distribute recorded inventory
408413
variations to accounts such as Bills to Receive/:abbr:`GRNI (goods received not invoiced)` or
@@ -411,7 +416,10 @@ and :ref:`Journal Entries Configuration <journal-entries>` sections.
411416

412417
.. h:div:: doc-aside
413418
414-
.. image:: cheat_sheet/valuation-accounting.png
419+
.. image:: cheat_sheet/accrual.png
420+
.. image:: cheat_sheet/accrual1.png
421+
.. image:: cheat_sheet/accrual2.png
422+
.. image:: cheat_sheet/accrual3.png
415423

416424

417425
.. _changes-in-19:
81.1 KB
Loading
115 KB
Loading
118 KB
Loading
105 KB
Loading

static/js/valuation-data.js

Lines changed: 56 additions & 56 deletions
Large diffs are not rendered by default.

static/js/valuation-journal.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,10 @@
158158
if (!this.props.items || this.props.items.isEmpty()) {
159159
return React.DOM.div();
160160
}
161-
const items = this.props.items;
162-
const idx = items.indexOf(null);
163-
if (idx !== -1) {
164-
// console.log(items.slice(idx + 1).deref());
165-
items = items.take(idx);
166-
}
167161
return React.DOM.div(
168162
{ className: 'entries-listing' },
169163
React.DOM.h4(null, this.props.heading, ':'),
170-
items.map(function (item, index) {
164+
this.props.items.map(function (item, index) {
171165
return React.DOM.p({ key: index }, item);
172166
})
173167
);

0 commit comments

Comments
 (0)