Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4184 Lượt xem

Accounting reports such as profit and loss and balance sheet are, by default, in tree view where totals of an account is shown before the children;

Income                         $ 900,000 <-- (1)
    ...                        $ ...
Total revenue                  $ 900,000 <-- (1) to appear here instead
Cost of Goods Sold             $ ...
    <children>                 $ ...
    ....                       $ ...
Gross Profit                   $ 573,800

Expense                        $ 500,200 <-- (2)
    Accounting and legal fees  $  11,700
    Advertising                $  15,000
    Depreciation               $  38,000
    Electricity                $   2,700
    ...
Total Expenses                 $ 500,200 <-- (2) to appear here instead

How can I achieve this without having to rewrite a whole set of codes? I tried to inherit account.report_financial into a custom module and have it call my own qweb report but have no success - unable to install the module due to "KeyError: 'account.report_financial'".

I tried looking for available modules but had no luck either.

Could anyone point me to the right direction? Thank you.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Jessie,

We are developing an Accounting reporting engine that can be used to generate any kind of accounting report. It will be available ending of February.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

your template starts like this?

<template id="your_id" inherit_id="account.report_financial">

your custom module should depends on account module

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 23
2804
1
thg 6 21
4068
0
thg 4 15
6620
2
thg 3 25
1846
2
thg 8 23
11751