File tree 6 files changed +37
-1
lines changed
carrier_account_environment
6 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ Contributors
112
112
113
113
- David Béal <david.beal@akretion.com>
114
114
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
115
+ - `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io >`__
116
+
117
+ - Bhavesh Heliconia
115
118
116
119
Maintainers
117
120
-----------
Original file line number Diff line number Diff line change 2
2
3
3
{
4
4
"name" : "Carrier accounts configuration with server_environment" ,
5
- "version" : "16 .0.1.0.0" ,
5
+ "version" : "18 .0.1.0.0" ,
6
6
"category" : "Tools" ,
7
7
"summary" : "Configure carriers with server_environment_files" ,
8
8
"maintainers" : ["florian-dacosta" ],
Original file line number Diff line number Diff line change 1
1
- David Béal \< <david.beal@akretion.com >\>
2
2
- Guewen Baconnier \< <guewen.baconnier@camptocamp.com >\>
3
+ - [ Heliconia Solutions Pvt. Ltd.] ( https://www.heliconia.io )
4
+ - Bhavesh Heliconia
Original file line number Diff line number Diff line change @@ -453,6 +453,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
453
453
< ul class ="simple ">
454
454
< li > David Béal << a class ="reference external " href ="mailto:david.beal@akretion.com "> david.beal@akretion.com</ a > ></ li >
455
455
< li > Guewen Baconnier << a class ="reference external " href ="mailto:guewen.baconnier@camptocamp.com "> guewen.baconnier@camptocamp.com</ a > ></ li >
456
+ < li > < a class ="reference external " href ="https://www.heliconia.io "> Heliconia Solutions Pvt. Ltd.</ a > < ul >
457
+ < li > Bhavesh Heliconia</ li >
458
+ </ ul >
459
+ </ li >
456
460
</ ul >
457
461
</ div >
458
462
< div class ="section " id ="maintainers ">
Original file line number Diff line number Diff line change
1
+ from . import test_carrier_account_environment
Original file line number Diff line number Diff line change
1
+ # Copyright 2019 David BEAL @ Akretion
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
+
4
+ from odoo .addons .base .tests .common import BaseCommon
5
+
6
+
7
+ class TestCarrierAccount (BaseCommon ):
8
+ @classmethod
9
+ def setUpClass (cls ):
10
+ super ().setUpClass ()
11
+ cls .carrier_account = cls .env ["carrier.account" ].create (
12
+ {"name" : "Test Carrier" }
13
+ )
14
+
15
+ def test_server_env_fields (self ):
16
+ """Test that _server_env_fields includes expected fields."""
17
+ server_env_fields = self .carrier_account ._server_env_fields
18
+ self .assertIn ("account" , server_env_fields )
19
+ self .assertIn ("password" , server_env_fields )
20
+
21
+ def test_server_env_global_section_name (self ):
22
+ """Test that _server_env_global_section_name
23
+ returns the correct section name."""
24
+ self .assertEqual (
25
+ self .carrier_account ._server_env_global_section_name (), "carrier_account"
26
+ )
You can’t perform that action at this time.
0 commit comments