odoo-addon-ebill-postfinance 17.0.1.0.0.3__py3-none-any.whl → 18.0.1.0.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/ebill_postfinance/README.rst +13 -8
- odoo/addons/ebill_postfinance/__manifest__.py +1 -1
- odoo/addons/ebill_postfinance/data/ir_cron.xml +0 -2
- odoo/addons/ebill_postfinance/data/mail_activity_type.xml +7 -7
- odoo/addons/ebill_postfinance/data/transmit.method.xml +1 -1
- odoo/addons/ebill_postfinance/i18n/ebill_postfinance.pot +6 -7
- odoo/addons/ebill_postfinance/messages/invoice-2003A.jinja +1 -1
- odoo/addons/ebill_postfinance/messages/invoice-yellowbill.jinja +2 -2
- odoo/addons/ebill_postfinance/models/__init__.py +1 -0
- odoo/addons/ebill_postfinance/models/account_move.py +13 -6
- odoo/addons/ebill_postfinance/models/account_move_line.py +36 -0
- odoo/addons/ebill_postfinance/models/ebill_payment_contract.py +3 -1
- odoo/addons/ebill_postfinance/models/ebill_postfinance_invoice_message.py +10 -8
- odoo/addons/ebill_postfinance/readme/CONTRIBUTORS.md +1 -0
- odoo/addons/ebill_postfinance/readme/INSTALL.md +1 -1
- odoo/addons/ebill_postfinance/static/description/index.html +26 -19
- odoo/addons/ebill_postfinance/tests/__init__.py +1 -0
- odoo/addons/ebill_postfinance/tests/common.py +24 -6
- odoo/addons/ebill_postfinance/tests/{examples → samples}/credit_note_yb.xml +24 -19
- odoo/addons/ebill_postfinance/tests/{examples → samples}/invoice_qr_yb.xml +26 -20
- odoo/addons/ebill_postfinance/tests/{examples → samples}/yellowbill_qr_iban.xml +164 -163
- odoo/addons/ebill_postfinance/tests/test_account_move.py +57 -0
- odoo/addons/ebill_postfinance/tests/test_ebill_postfinance.py +8 -1
- odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb.py +6 -10
- odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb_creditnote.py +5 -9
- odoo/addons/ebill_postfinance/views/ebill_payment_contract.xml +12 -15
- odoo/addons/ebill_postfinance/views/ebill_postfinance_invoice_message.xml +21 -21
- odoo/addons/ebill_postfinance/views/ebill_postfinance_service.xml +14 -14
- {odoo_addon_ebill_postfinance-17.0.1.0.0.3.dist-info → odoo_addon_ebill_postfinance-18.0.1.0.0.7.dist-info}/METADATA +19 -13
- odoo_addon_ebill_postfinance-18.0.1.0.0.7.dist-info/RECORD +46 -0
- {odoo_addon_ebill_postfinance-17.0.1.0.0.3.dist-info → odoo_addon_ebill_postfinance-18.0.1.0.0.7.dist-info}/WHEEL +1 -1
- odoo_addon_ebill_postfinance-17.0.1.0.0.3.dist-info/RECORD +0 -44
- {odoo_addon_ebill_postfinance-17.0.1.0.0.3.dist-info → odoo_addon_ebill_postfinance-18.0.1.0.0.7.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Envelope
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<Envelope
|
|
3
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
5
|
+
type="string"
|
|
6
|
+
>
|
|
3
7
|
<Header>
|
|
4
8
|
<From>Camptocamp SA</From>
|
|
5
9
|
<To>IPECeBILLServer</To>
|
|
@@ -17,7 +21,7 @@
|
|
|
17
21
|
<DeliveryDate>2019-06-21</DeliveryDate>
|
|
18
22
|
<TransactionID>$TRANSACTION_ID</TransactionID>
|
|
19
23
|
<BillDetailsType>PDFAppendix</BillDetailsType>
|
|
20
|
-
<URLBillDetails/>
|
|
24
|
+
<URLBillDetails />
|
|
21
25
|
</DeliveryInfo>
|
|
22
26
|
<Bill>
|
|
23
27
|
<Header>
|
|
@@ -44,7 +48,8 @@
|
|
|
44
48
|
<Address>
|
|
45
49
|
<CompanyName>Test RAD Customer XML</CompanyName>
|
|
46
50
|
<Address1>Teststrasse 100</Address1>
|
|
47
|
-
<Address2
|
|
51
|
+
<Address2
|
|
52
|
+
>This is a very long street name that should be sna</Address2>
|
|
48
53
|
<ZIP>1700</ZIP>
|
|
49
54
|
<City>Fribourg</City>
|
|
50
55
|
<Country>CH</Country>
|
|
@@ -54,11 +59,11 @@
|
|
|
54
59
|
</ReceiverParty>
|
|
55
60
|
<DeliveryPlace>
|
|
56
61
|
<Address>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
<CompanyName>Test RAD Customer XML</CompanyName>
|
|
63
|
+
<ZIP>1700</ZIP>
|
|
64
|
+
<City>Fribourg</City>
|
|
65
|
+
<Country>CH</Country>
|
|
66
|
+
<!-- <Contact1>0000000001</Contact1> -->
|
|
62
67
|
</Address>
|
|
63
68
|
</DeliveryPlace>
|
|
64
69
|
<AchievementDate>
|
|
@@ -67,12 +72,12 @@
|
|
|
67
72
|
</AchievementDate>
|
|
68
73
|
<Currency>CHF</Currency>
|
|
69
74
|
<AccountAssignment>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
<OrderReference>
|
|
76
|
+
<ReferencePosition>1</ReferencePosition>
|
|
77
|
+
<ReferenceType>OrderReference</ReferenceType>
|
|
78
|
+
<ReferenceValue>CustomerRef</ReferenceValue>
|
|
79
|
+
</OrderReference>
|
|
80
|
+
<OrderDate>2019-06-01</OrderDate>
|
|
76
81
|
</AccountAssignment>
|
|
77
82
|
<Language>en</Language>
|
|
78
83
|
<PaymentInformation>
|
|
@@ -116,7 +121,8 @@
|
|
|
116
121
|
<LineItem>
|
|
117
122
|
<LineItemType>NORMAL</LineItemType>
|
|
118
123
|
<LineItemID>2</LineItemID>
|
|
119
|
-
<ProductDescription
|
|
124
|
+
<ProductDescription
|
|
125
|
+
>Product With a Very Long Name That Need To Be Truncated</ProductDescription>
|
|
120
126
|
<ProductID>370003022</ProductID>
|
|
121
127
|
<Quantity>1.0</Quantity>
|
|
122
128
|
<QuantityDescription>Units</QuantityDescription>
|
|
@@ -169,8 +175,7 @@
|
|
|
169
175
|
<!-- <TotalAmountPaid>200.00</TotalAmountPaid> -->
|
|
170
176
|
<TotalAmountDue>-529.88</TotalAmountDue>
|
|
171
177
|
</Summary>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</Appendix>
|
|
178
|
+
</Bill>
|
|
179
|
+
<Appendix />
|
|
175
180
|
</Body>
|
|
176
181
|
</Envelope>
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Envelope
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<Envelope
|
|
3
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
5
|
+
type="string"
|
|
6
|
+
>
|
|
3
7
|
<Header>
|
|
4
8
|
<From>Camptocamp SA</From>
|
|
5
9
|
<To>IPECeBILLServer</To>
|
|
@@ -17,7 +21,7 @@
|
|
|
17
21
|
<DeliveryDate>2019-06-21</DeliveryDate>
|
|
18
22
|
<TransactionID>$TRANSACTION_ID</TransactionID>
|
|
19
23
|
<BillDetailsType>PDFAppendix</BillDetailsType>
|
|
20
|
-
<URLBillDetails/>
|
|
24
|
+
<URLBillDetails />
|
|
21
25
|
</DeliveryInfo>
|
|
22
26
|
<Bill>
|
|
23
27
|
<Header>
|
|
@@ -44,7 +48,8 @@
|
|
|
44
48
|
<Address>
|
|
45
49
|
<CompanyName>Test RAD Customer XML</CompanyName>
|
|
46
50
|
<Address1>Teststrasse 100</Address1>
|
|
47
|
-
<Address2
|
|
51
|
+
<Address2
|
|
52
|
+
>This is a very long street name that should be sna</Address2>
|
|
48
53
|
<ZIP>1700</ZIP>
|
|
49
54
|
<City>Fribourg</City>
|
|
50
55
|
<Country>CH</Country>
|
|
@@ -54,11 +59,11 @@
|
|
|
54
59
|
</ReceiverParty>
|
|
55
60
|
<DeliveryPlace>
|
|
56
61
|
<Address>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
<CompanyName>Test RAD Customer XML</CompanyName>
|
|
63
|
+
<ZIP>1700</ZIP>
|
|
64
|
+
<City>Fribourg</City>
|
|
65
|
+
<Country>CH</Country>
|
|
66
|
+
<!-- <Contact1>0000000001</Contact1> -->
|
|
62
67
|
</Address>
|
|
63
68
|
</DeliveryPlace>
|
|
64
69
|
<AchievementDate>
|
|
@@ -67,12 +72,12 @@
|
|
|
67
72
|
</AchievementDate>
|
|
68
73
|
<Currency>CHF</Currency>
|
|
69
74
|
<AccountAssignment>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
<OrderReference>
|
|
76
|
+
<ReferencePosition>1</ReferencePosition>
|
|
77
|
+
<ReferenceType>OrderReference</ReferenceType>
|
|
78
|
+
<ReferenceValue>CustomerRef</ReferenceValue>
|
|
79
|
+
</OrderReference>
|
|
80
|
+
<OrderDate>2019-06-01</OrderDate>
|
|
76
81
|
</AccountAssignment>
|
|
77
82
|
<Language>en</Language>
|
|
78
83
|
<PaymentInformation>
|
|
@@ -83,7 +88,8 @@
|
|
|
83
88
|
<BIC>777</BIC>
|
|
84
89
|
<BankName>Reserve</BankName>
|
|
85
90
|
<IBAN>CH2130808001234567827</IBAN>
|
|
86
|
-
<CreditorReference
|
|
91
|
+
<CreditorReference
|
|
92
|
+
>210000000003139471430009017</CreditorReference>
|
|
87
93
|
</IBAN>
|
|
88
94
|
</PaymentInformation>
|
|
89
95
|
<!-- <FreeText>Dies ist eine Musterrechnung mit QR-IBAN Angaben</FreeText> -->
|
|
@@ -122,7 +128,8 @@
|
|
|
122
128
|
<LineItem>
|
|
123
129
|
<LineItemType>NORMAL</LineItemType>
|
|
124
130
|
<LineItemID>2</LineItemID>
|
|
125
|
-
<ProductDescription
|
|
131
|
+
<ProductDescription
|
|
132
|
+
>Product With a Very Long Name That Need To Be Truncated</ProductDescription>
|
|
126
133
|
<ProductID>370003022</ProductID>
|
|
127
134
|
<Quantity>1.0</Quantity>
|
|
128
135
|
<QuantityDescription>Units</QuantityDescription>
|
|
@@ -175,8 +182,7 @@
|
|
|
175
182
|
<!-- <TotalAmountPaid>200.00</TotalAmountPaid> -->
|
|
176
183
|
<TotalAmountDue>529.88</TotalAmountDue>
|
|
177
184
|
</Summary>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
</Appendix>
|
|
185
|
+
</Bill>
|
|
186
|
+
<Appendix />
|
|
181
187
|
</Body>
|
|
182
188
|
</Envelope>
|