跳至内容
菜单
此问题已终结

Hi, community, i want to add a column to the aged payable report on the accounting module, i made a demo DB with v17 and the column "invoice date" is there, but in my odoo that is v16 is not, i tried to add the same way using the same field and formula but i got an error.

Is this a feature that is not in previous versions of odoo?

here are some screenshots:

this is the configuration of the accounting report in Odoo 17, and the field/column i want to add:

This is the report page, as you can see the column is succesfully added:


Now this is the same configuration for the other DB with v16e:

But when i saved and try to access the report i got this error:


形象
丢弃

Hi,
You can refer to this question, may it help to add the column in the accounting reports

https://www.odoo.com/it_IT/forum/assistenza-1/add-column-to-general-ledger-odoo16-228578

Hope it helps

最佳答案

Hi Guys, I do not see it is possible without Python code. The function  def _report_custom_engine_aged_payable calls the function def _aged_partner_report_custom_engine_common and this function built the select. However, the selection is hard coded. Then the result of the selection is converted into a dictionary and the key of the dictionary is the subformula.


形象
丢弃
最佳答案

Hola, llevo mucho tiempo intentando hacer lo mismo, pudiste hacerlo?

形象
丢弃
最佳答案

hola david, yo también quisiera agregar más columnas con más fechas de vencimiento. Pudiste encontrar como se agrega?

形象
丢弃
最佳答案

Hi David:

A lot of the Accounting Reports cannot be modified through the Accounting Reports configuration since they use something known as a "custom handler" which is essentially a bunch of python and javascript code that is specific to that report. The Aged Payable report is one of them. Since the field appears in the v17 version, you may want to check with Odoo support whether there is a plan to backport it to v16 in the near future.

形象
丢弃
相关帖文 回复 查看 活动
0
11月 23
2066
0
11月 23
1574
1
7月 23
3647
0
5月 23
1948
4
6月 25
8938