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.
Files changed (33) hide show
  1. odoo/addons/ebill_postfinance/README.rst +13 -8
  2. odoo/addons/ebill_postfinance/__manifest__.py +1 -1
  3. odoo/addons/ebill_postfinance/data/ir_cron.xml +0 -2
  4. odoo/addons/ebill_postfinance/data/mail_activity_type.xml +7 -7
  5. odoo/addons/ebill_postfinance/data/transmit.method.xml +1 -1
  6. odoo/addons/ebill_postfinance/i18n/ebill_postfinance.pot +6 -7
  7. odoo/addons/ebill_postfinance/messages/invoice-2003A.jinja +1 -1
  8. odoo/addons/ebill_postfinance/messages/invoice-yellowbill.jinja +2 -2
  9. odoo/addons/ebill_postfinance/models/__init__.py +1 -0
  10. odoo/addons/ebill_postfinance/models/account_move.py +13 -6
  11. odoo/addons/ebill_postfinance/models/account_move_line.py +36 -0
  12. odoo/addons/ebill_postfinance/models/ebill_payment_contract.py +3 -1
  13. odoo/addons/ebill_postfinance/models/ebill_postfinance_invoice_message.py +10 -8
  14. odoo/addons/ebill_postfinance/readme/CONTRIBUTORS.md +1 -0
  15. odoo/addons/ebill_postfinance/readme/INSTALL.md +1 -1
  16. odoo/addons/ebill_postfinance/static/description/index.html +26 -19
  17. odoo/addons/ebill_postfinance/tests/__init__.py +1 -0
  18. odoo/addons/ebill_postfinance/tests/common.py +24 -6
  19. odoo/addons/ebill_postfinance/tests/{examples → samples}/credit_note_yb.xml +24 -19
  20. odoo/addons/ebill_postfinance/tests/{examples → samples}/invoice_qr_yb.xml +26 -20
  21. odoo/addons/ebill_postfinance/tests/{examples → samples}/yellowbill_qr_iban.xml +164 -163
  22. odoo/addons/ebill_postfinance/tests/test_account_move.py +57 -0
  23. odoo/addons/ebill_postfinance/tests/test_ebill_postfinance.py +8 -1
  24. odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb.py +6 -10
  25. odoo/addons/ebill_postfinance/tests/test_ebill_postfinance_message_yb_creditnote.py +5 -9
  26. odoo/addons/ebill_postfinance/views/ebill_payment_contract.xml +12 -15
  27. odoo/addons/ebill_postfinance/views/ebill_postfinance_invoice_message.xml +21 -21
  28. odoo/addons/ebill_postfinance/views/ebill_postfinance_service.xml +14 -14
  29. {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
  30. odoo_addon_ebill_postfinance-18.0.1.0.0.7.dist-info/RECORD +46 -0
  31. {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
  32. odoo_addon_ebill_postfinance-17.0.1.0.0.3.dist-info/RECORD +0 -44
  33. {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 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="string">
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>This is a very long street name that should be sna</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
- <CompanyName>Test RAD Customer XML</CompanyName>
58
- <ZIP>1700</ZIP>
59
- <City>Fribourg</City>
60
- <Country>CH</Country>
61
- <!-- <Contact1>0000000001</Contact1> -->
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
- <OrderReference>
71
- <ReferencePosition>1</ReferencePosition>
72
- <ReferenceType>OrderReference</ReferenceType>
73
- <ReferenceValue>CustomerRef</ReferenceValue>
74
- </OrderReference>
75
- <OrderDate>2019-06-01</OrderDate>
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>Product With a Very Long Name That Need To Be Truncated</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
- </Bill>
173
- <Appendix>
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 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="string">
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>This is a very long street name that should be sna</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
- <CompanyName>Test RAD Customer XML</CompanyName>
58
- <ZIP>1700</ZIP>
59
- <City>Fribourg</City>
60
- <Country>CH</Country>
61
- <!-- <Contact1>0000000001</Contact1> -->
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
- <OrderReference>
71
- <ReferencePosition>1</ReferencePosition>
72
- <ReferenceType>OrderReference</ReferenceType>
73
- <ReferenceValue>CustomerRef</ReferenceValue>
74
- </OrderReference>
75
- <OrderDate>2019-06-01</OrderDate>
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>210000000003139471430009017</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>Product With a Very Long Name That Need To Be Truncated</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
- </Bill>
179
- <Appendix>
180
- </Appendix>
185
+ </Bill>
186
+ <Appendix />
181
187
  </Body>
182
188
  </Envelope>