xunnel-account issueshttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues2023-12-27T05:24:54Zhttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/73Follow-up from "[IMP] account_xunnel: add reference info to the label of a tr...2023-12-27T05:24:54ZMoisés López | ❖ Vauxoo - https://www.vauxoo.com/Follow-up from "[IMP] account_xunnel: add reference info to the label of a transaction"The following discussions from !194 should be addressed:
- [ ] @moylop260 started a [discussion](https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/194#note_606224):
> FYI the line is important to fix:
>
> acco...The following discussions from !194 should be addressed:
- [ ] @moylop260 started a [discussion](https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/194#note_606224):
> FYI the line is important to fix:
>
> account_xunnel/models/res_company.py:30:19: (external-request-timeout) Use of external request method `requests.post` without timeout. It could wait for a long timeOlar Alca [Vauxoo]oscar@vauxoo.comOlar Alca [Vauxoo]oscar@vauxoo.comhttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/71Duplicated accounts2022-05-30T19:56:50ZYoany Mora VauxooDuplicated accountsWhen sync accounts from xunnel.com more than one record with the same account is created, those with different client_id. Even there are lots of records with the same account not all allow the user to download the transactions from xunne...When sync accounts from xunnel.com more than one record with the same account is created, those with different client_id. Even there are lots of records with the same account not all allow the user to download the transactions from xunnel.com, givin the impression that the system fails.
In this case I use my personal account and the result was the followin:
The first time I added my account and downloaded those in my localhost 2 registers were created:
- Both accounts were from the same bank but one has data and the other doesn't
This image show the records created after sync my bank accounts:
![image](/uploads/a0fa7aa84482996a20e310c0bb8cf0ab/image.png)
This is the first record, as you can see, no account was related to it:
![image](/uploads/14588551fde1d962414f3713247b09f3/image.png)
This is the second record, as you can see the 2 accounts related to my user in xunnel.com are listed here:
![image](/uploads/e87e6a05c33a3ed4dc1a703942c29f7e/image.png)
Both records has different `client_id`
The expected behavior is to create one register per account or one record with both accounts.Yoany Mora VauxooYoany Mora Vauxoohttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/70Statements "group by" config is failing2022-02-25T03:22:32ZYoany Mora VauxooStatements "group by" config is failing<h2>Overview</h2>
While downloading statements from a Journal with configuration of group statements by month I notice two statements were created from the same month, when only one was expected.
<h2>To replicate this error</h2>
1. ...<h2>Overview</h2>
While downloading statements from a Journal with configuration of group statements by month I notice two statements were created from the same month, when only one was expected.
<h2>To replicate this error</h2>
1. Add a Xunnel Token to an instance with xunnel account and download the accounts associated to this token.
2. Create a Journal with `Type = Bank` and `Bank Feeds = Automated Bank Synchronization`.
3. Associate this journal to an account previously downloaded with Xunnel.
4. Return to the brand new journal and set `Synchronization Frequency = Create monthly statements`.
![journal-sync-frequency](/uploads/95f7ca968c6779291dd28a1064b4c5eb/journal-sync-frequency.png)
5. Go to the Accounting dashboard and select the journal you just create, change the `Xunnel synchronization date` to the 15th of the current month (for example), then press the `Synchronize now` link in the journal kanban.
6. Change again the `Xunnel synchronization date` to the 1st of the current month (for example), and then press the `Synchronize now` link in the journal kanban.
7. check the statements of the journal, you'll see two statements from the current month when only one was expected.
![statements](/uploads/400131303a35c0f42976a862f6e15b35/statements.png)
<h2>Expected behavior</h2>
After sync the journal (with `Synchronization Frequency = Create monthly statements`) more than once in the same month and with the `Xunnel synchronization date` from the same month every one of these times the result should be only one statement per month.Yoany Mora VauxooYoany Mora Vauxoohttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/69[NEW] Features v14 and 152023-05-17T15:49:15ZOlar Alca [Vauxoo]oscar@vauxoo.com[NEW] Features v14 and 15- [x] **Increase Coverage since it was taken down due the rush to deploy ASAP in v15**
- [ ] **Add ready to sync notification**
Currently there is an email that is being sent to the customer telling that an account is ready to sync, th...- [x] **Increase Coverage since it was taken down due the rush to deploy ASAP in v15**
- [ ] **Add ready to sync notification**
Currently there is an email that is being sent to the customer telling that an account is ready to sync, the title of the email is: **Xunnel | Accounts registered**
![image](/uploads/a3b6fa2d10e0109d2bbf08defc89c206/image.png)
We should add an Odoo persistent notification letting the user know that the transactions are ready to download like this:
![image](/uploads/30ff9a6121fb588b4945291a00fba7b4/image.png)
`your bank statements are ready to download, please go to your accounting dashboard and hit Sync Xunnel`
- [ ] A**dd ready to sync status in accounting dashboard**
Similar to the notification the journal should have a `Xunnel status indicator`
- Green: Updated and synced (transactions are both in Xunnel.com and the Odoo instance)
- Blue: Ready to sync (Transactions are in Xunnel.com but not in the Odoo instance)
![image](/uploads/abd134404b01fe0279c0cc67295319e1/image.png)
- [x] **Download links to the xunnel.com website**.
![image](/uploads/9a9b20bf9671d27ccf9e8de2c387df8d/image.png)
- [ ] **Update user manual with the features added here.**Yoany Mora VauxooYoany Mora Vauxoohttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/68account_xunnel: Validate there is data, AttributeError 'NoneType' object has ...2020-05-29T17:39:44ZHugo Adan [Vauxoo]account_xunnel: Validate there is data, AttributeError 'NoneType' object has no attribute 'items'![image](/uploads/e8126b45f6103879fea6a67a95942bf3/image.png)![image](/uploads/e8126b45f6103879fea6a67a95942bf3/image.png)https://git.vauxoo.com/vauxoo/xunnel-account/-/issues/67account_xunnel: webhook_hanlder call _sync_xunnel_providers wich expects a r...2020-05-29T17:36:44ZHugo Adan [Vauxoo]account_xunnel: webhook_hanlder call _sync_xunnel_providers wich expects a record ValueError("Expected singleton: %s" % self)
Here you are calling `_sync_xunnel_providers`
https://git.vauxoo.com/vauxoo/xunnel-account/-/blob/12.0/account_xunnel/controllers/main.py#L32-33
but there no record in the set, so it fails at this line
https://git.vauxoo.com/vauxoo/xun...
Here you are calling `_sync_xunnel_providers`
https://git.vauxoo.com/vauxoo/xunnel-account/-/blob/12.0/account_xunnel/controllers/main.py#L32-33
but there no record in the set, so it fails at this line
https://git.vauxoo.com/vauxoo/xunnel-account/-/blob/12.0/account_xunnel/models/res_company.py#L55
res.company()
![image](/uploads/e3740c6a6c46b71bf6ed3abd7fd350f2/image.png)
https://sentry.vauxoo.com/organizations/vauxoo/issues/5554/?environment=production&project=15&query=url%3A%22https%3A%2F%2Fwww.vauxoo.com%2Faccount_xunnel%2Fxunnel_webhook_connection%2F%22https://git.vauxoo.com/vauxoo/xunnel-account/-/issues/63Downloads issued invoices2019-11-13T18:47:29ZJavier VegaDownloads issued invoicesThe invoices downloaded from the `xunnel-app` also needs to be issued (emitidas).
Modules to modify:
- [`xunnel-invoice`](https://git.vauxoo.com/vauxoo/xunnel-account)
- [`xunnel-app`](https://git.vauxoo.com/vauxoo/xunnel-app)
##### ...The invoices downloaded from the `xunnel-app` also needs to be issued (emitidas).
Modules to modify:
- [`xunnel-invoice`](https://git.vauxoo.com/vauxoo/xunnel-account)
- [`xunnel-app`](https://git.vauxoo.com/vauxoo/xunnel-app)
##### In `xunnel-invoice`
1. The wizard [`xunnel.attachments.wizard`](https://git.vauxoo.com/vauxoo/xunnel-account/blob/12.0/invoice_xunnel/wizards/attachments.py) must have a `invoice_type` selection field (with `related=False`, `default='recibidas'`) storing the values `[('emitidas', 'Issued invoices'), ('recibidas', 'Invoices received')]`.
2. That value must be passed to the method [`_sync_xunnel_attachments`](https://git.vauxoo.com/vauxoo/xunnel-account/blob/12.0/invoice_xunnel/models/res_company.py) and update the dictionary sent in [`self._xunnel('get_invoices_sat', values)`](https://git.vauxoo.com/vauxoo/xunnel-account/blob/12.0/invoice_xunnel/models/res_company.py#L41)
##### In `xunnel-app`
1. The method [`_get_invoices_sat`](https://git.vauxoo.com/vauxoo/xunnel-app/blob/11.0/xunnel_admin/models/xunnel_company.py#L371) is going to receive the key/value you updated in `xunnel-invoice` step 2.
2. Change the way the keywords are sent in [this line](https://git.vauxoo.com/vauxoo/xunnel-app/blob/11.0/xunnel_admin/models/xunnel_company.py#L388), must be either `'recibidas,vigente'` or `'emitidas,vigente'`. To make this, use the parameter you just sent.
More info in the [docs](https://www.paybook.com/sync/docs/API#en&endpoints.transactions)https://git.vauxoo.com/vauxoo/xunnel-account/-/issues/40xunnel_invoice - Check the odoo’s dev in master about process jpg and pdf to ...2018-08-20T16:47:48ZMoisés López | ❖ Vauxoo - https://www.vauxoo.com/xunnel_invoice - Check the odoo’s dev in master about process jpg and pdf to get invoice datahttps://github.com/odoo/enterprise/commit/be3cfc3babf0a642423e8a82f9919a65a46e9fa2https://github.com/odoo/enterprise/commit/be3cfc3babf0a642423e8a82f9919a65a46e9fa2v3.0Moisés López | ❖ Vauxoo - https://www.vauxoo.com/Moisés López | ❖ Vauxoo - https://www.vauxoo.com/https://git.vauxoo.com/vauxoo/xunnel-account/-/issues/39Install es for runbot2018-08-13T16:04:51ZMoisés López | ❖ Vauxoo - https://www.vauxoo.com/Install es for runbotv2.0Moisés López | ❖ Vauxoo - https://www.vauxoo.com/Moisés López | ❖ Vauxoo - https://www.vauxoo.com/https://git.vauxoo.com/vauxoo/xunnel-account/-/issues/38account_xunnel: Add testing2018-08-10T22:19:43ZMoisés López | ❖ Vauxoo - https://www.vauxoo.com/account_xunnel: Add testingAdd testing for the following files:
- ![Screen_Shot_2018-08-10_at_17.16.23](/uploads/296bdcec63bccba31e79443f7709e5ca/Screen_Shot_2018-08-10_at_17.16.23.png)
Consider to test `account_online_sync` xml_id: online_sync_cronAdd testing for the following files:
- ![Screen_Shot_2018-08-10_at_17.16.23](/uploads/296bdcec63bccba31e79443f7709e5ca/Screen_Shot_2018-08-10_at_17.16.23.png)
Consider to test `account_online_sync` xml_id: online_sync_cronv2.0Javier VegaJavier Vegahttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/28Language in the description of the apps2018-08-31T14:32:17ZJavier VegaLanguage in the description of the appsSteps to reproduce
------------------
- having an instance with this repo in addons
1.- search both apps in the apps section
Expected
--------
- Language changing
Saw
---
- Always English descriptionSteps to reproduce
------------------
- having an instance with this repo in addons
1.- search both apps in the apps section
Expected
--------
- Language changing
Saw
---
- Always English descriptionv2.0Roberto Sánchez MinorRoberto Sánchez Minorhttps://git.vauxoo.com/vauxoo/xunnel-account/-/issues/8Engagement del in-app purchase2018-05-21T18:38:34ZNhomar Hernándeznhomar@vauxoo.comEngagement del in-app purchaseMoisés López | ❖ Vauxoo - https://www.vauxoo.com/Moisés López | ❖ Vauxoo - https://www.vauxoo.com/