Skip to content

Commit 8fbd49c

Browse files
committed
[ADD] clog_account_payment_order_custom: add new module
1 parent 23fc114 commit 8fbd49c

File tree

14 files changed

+1132
-0
lines changed

14 files changed

+1132
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
=====================================
2+
CLOG - Account Payment Order - Custom
3+
=====================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:e5fe250657bcf6d01fc520cc90b6922b4c3b264a2f7744b3170bf191d7db3d6f
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-Escodoo%2Fclog--addons-lightgray.png?logo=github
20+
:target: https://github.com/Escodoo/clog-addons/tree/14.0/clog_account_payment_order_custom
21+
:alt: Escodoo/clog-addons
22+
23+
|badge1| |badge2| |badge3|
24+
25+
26+
**Table of contents**
27+
28+
.. contents::
29+
:local:
30+
31+
Bug Tracker
32+
===========
33+
34+
Bugs are tracked on `GitHub Issues <https://github.com/Escodoo/clog-addons/issues>`_.
35+
In case of trouble, please check there if your issue has already been reported.
36+
If you spotted it first, help us to smash it by providing a detailed and welcomed
37+
`feedback <https://github.com/Escodoo/clog-addons/issues/new?body=module:%20clog_account_payment_order_custom%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
38+
39+
Do not contact contributors directly about support or help with technical issues.
40+
41+
Credits
42+
=======
43+
44+
Authors
45+
~~~~~~~
46+
47+
* Escodoo
48+
49+
Maintainers
50+
~~~~~~~~~~~
51+
52+
This module is part of the `Escodoo/clog-addons <https://github.com/Escodoo/clog-addons/tree/14.0/clog_account_payment_order_custom>`_ project on GitHub.
53+
54+
You are welcome to contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2025 - TODAY, Escodoo
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "CLOG - Account Payment Order - Custom",
6+
"version": "14.0.1.0.0",
7+
"license": "AGPL-3",
8+
"author": "Escodoo",
9+
"website": "https://github.com/escodoo/clog-addons.git",
10+
"depends": ["account_payment_order"],
11+
"data": [
12+
"report/account_payment_order.xml",
13+
"report/print_account_payment_order.xml",
14+
],
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import account_payment_order
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright 2025 - TODAY, Kaynnan Lemes <kaynnan.lemes@escodoo.com.br>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from odoo import _, api, fields, models
5+
6+
7+
class AccountPaymentOrder(models.Model):
8+
9+
_inherit = "account.payment.order"

clog_account_payment_order_custom/readme/CONTRIBUTORS.rst

Whitespace-only changes.

clog_account_payment_order_custom/readme/DESCRIPTION.rst

Whitespace-only changes.

clog_account_payment_order_custom/readme/USAGE.rst

Whitespace-only changes.

clog_account_payment_order_custom/report/account_payment_order.xml

Lines changed: 596 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- Copyright 2025 - TODAY, Kaynnan Lemes <kaynnan.lemes@escodoo.com.br>
3+
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
4+
<odoo>
5+
<record id="paperformat_print_pay_invoice_simple" model="report.paperformat">
6+
<field name="name">A4 - Low Margin for Pay Invoice Simple</field>
7+
<field name="default" eval="True" />
8+
<field name="format">A4</field>
9+
<field name="orientation">Landscape</field>
10+
<field name="margin_top">48</field>
11+
<field name="margin_bottom">0</field>
12+
<field name="margin_left">0</field>
13+
<field name="margin_right">0</field>
14+
<field name="header_line" eval="False" />
15+
<field name="header_spacing">46</field>
16+
<field name="dpi">90</field>
17+
</record>
18+
19+
<!-- QWeb Report -->
20+
<record id="clog_action_pay_invoice_simple" model="ir.actions.report">
21+
<field name="name">Invoice Simple</field>
22+
<field name="model">account.payment.order</field>
23+
<field name="report_type">qweb-pdf</field>
24+
<field
25+
name="report_name"
26+
>clog_account_payment_order_custom.print_pay_invoice_simple_main</field>
27+
<field
28+
name="paperformat_id"
29+
ref="clog_account_payment_order_custom.paperformat_print_pay_invoice_simple"
30+
/>
31+
<field
32+
name="report_file"
33+
>clog_account_payment_order_custom.print_pay_invoice_simple_main</field>
34+
<field
35+
name="binding_model_id"
36+
ref="account_payment_order.model_account_payment_order"
37+
/>
38+
<field name="binding_type">report</field>
39+
</record>
40+
41+
</odoo>

0 commit comments

Comments
 (0)