Newer
Older
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
* OneShot and OneShot Catalog as resources. [#73](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/73)
### Added
* Attribut mobiles_sharing_data in FiberContractsToPack. [#70](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/70)
* Attributes in contract Contract model. [#68](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/68)
## [0.1.35] - 2023-05-29
### Added
* Attributes in product-catalog Pack model. [#66](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/66)
## [0.1.34] - 2023-05-22
### Added
* Return Odoo contracts with pagination. [#64](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/64)
## [0.1.33] - 2023-02-17
### Changed
* Replace sponsor_id for sponsor_ref in Partner. [#62](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/62)
### Added
* Add FiberContractsToPack search by partner ref method. [#55](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/55)
## [0.1.31] - 2022-11-21
### Added
* Add Contract search by code method. [#53](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/53)
* Offer in resources product_catalog. [#55](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/55)
* Packs in resources product_catalog. [#51](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/51)
## [0.1.28] - 2022-10-24
### Removed
* Remove sponsees info from partner. [#34](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/34)
## [0.1.27] - 2022-09-09
### Added
* Add kwargs to ProductCatalog constructor. [#48](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/48)
* Add has_landline_phone to product_catalog. [#41](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/41)
## [0.1.25] - 2022-07-06
### Added
* Add kwargs in constructor for models: address, broadband_isp, crm_lead, crm_lead_line, discoveryChannel, mobile_isp_info,product_catalog, and provider. [#42](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/42)
## [0.1.24] - 2022-06-30
### Added
* Add Sponsees model and methods to search them in Partner (by ref). [#35](https://git.coopdevs.org/coopdevs/som-connexio/odoo-somconnexio-python-client/-/merge_requests/35)
* Add Contract model and methods to search them (by customer vat or by phone number). [#37](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/37)
### Added
* Add banned_actions to Partner object returned in get methods. [#36](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/36)
### Added
* Add addresses to Partner object returned in get methods. [#24](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/24)
## [0.1.20] - 2022-04-20
### Added
* Add check_sponsor method to Partner resource [#32](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/32)
### Removed
* Remove Tryton support [#31](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/31)
### Added
* Add sponsor data to Partner resource [#29](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/29)
* Add filter to Product Catalog endpoint to select the products available from product code to change tariff [#30](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/30)
### Added
* Add language to ProductCatalog resource. [#26](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/26)
## [0.1.17] - 2021-06-28
### Added
* Add resource to get the tariffs endpoint. [#20](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/20)
## [0.1.16] - 2021-06-10
### Changed
* Add accept-language header when asking the discovery-channel endpoint. [#19](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/19)
### Fixed
* Send the SC ICC also in a new lines [#18](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/18)
### Fixed
* Concat second lastname to portability contract data [#16](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/16)
### Fixed
* Use the company_name and company_email in company SR [#15](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/15)
### Fixed
* Set company fields in SR creation [#14](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/14)
### Added
* Add member field to the Partner resource. [#13](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/10)
### Changed
* Use pytest-recording instead of pytest-vrc for testing HTTP requests. [#12](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/12)
### Fixed
* Send always a delivery address in CRMLead creation. [#11](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/11)
### Added
* Set coop_candidate field to the Partner resource. [#10](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/10)
* Send the different invoice address with the ISPInfo. [#6](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/6) and [#9](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/9)
### Fixed
* Black lint [#8](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/8)
## [0.1.7]
### Fixed
* Use fiber instead of fibre in previus_service of CRMLead
### Removed
* Remove birthdate info from Partner resource [#5](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/5)
## [0.1.5]
### Fixed
* Fix the tests of SubscriptionRequestFromPartnerForm.
## [0.1.4]
### Added
* Add SR info to the mapper output: Gender, Firstname, Lastname, IsCompany, CompanyName, Birthdate and Phone.
## [0.1.3]
### Added
* Add sponsor and coop agreement data to Partner response. [#4](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/4)
### Added
* Add the Discovery Channel resource and use it in the SR creation. [#3](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/3)
### Fixed
* Cast previous provider from string to int in CRMLead creation call.
### Fixed
* Cast voluntary contribution from string to int in SR creation call. [#2](https://gitlab.com/coopdevs/odoo-somconnexio-python-client/-/merge_requests/2)
## [0.1.0]
* Search Provider resource
* Create CRMLead resource
* Search and Get Partner resource
* Create SubscriptionRequest resource
* Initial commit with the SubscriptionRequest and the CRMLead resources.
Also included the Client with get and post methods.