xunnel-account merge requestshttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests2022-01-20T17:31:05Zhttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/158[ADD] Add env var to use the new tag and image schema2022-01-20T17:31:05ZTulio Ruiz[ADD] Add env var to use the new tag and image schemaOlar Alca [Vauxoo]oscar@vauxoo.comOlar Alca [Vauxoo]oscar@vauxoo.comhttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/157[FIX] invoice_xunnel: Some 3.2 improvements2021-08-26T00:13:31ZLuis Ernesto Torres Macías[FIX] invoice_xunnel: Some 3.2 improvements1. Avoid error with taxes on CFDI 3.2
2. In CFDI 3.2, other option to the currency name is ``NACIONAL``, now
is supported this label in the currency.1. Avoid error with taxes on CFDI 3.2
2. In CFDI 3.2, other option to the currency name is ``NACIONAL``, now
is supported this label in the currency.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/156Draft: [first commit]2023-12-26T22:36:00ZJavier VegaDraft: [first commit]https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/155[issue#14490][IMP] invoice_xunnel: Included new field that saves the amount d...2021-04-20T20:22:37ZEdilianny Sánchez[issue#14490][IMP] invoice_xunnel: Included new field that saves the amount difference allowed between the amount in the XML and the invoice.[IMP] invoice_xunnel: Included new field that saves the amount difference allowed between the amount in the XML and the invoice.
This is already implemented in [vendor-bills](https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/1...[IMP] invoice_xunnel: Included new field that saves the amount difference allowed between the amount in the XML and the invoice.
This is already implemented in [vendor-bills](https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/162).
Functional test **before** fix https://youtu.be/lUSpoQ4_LrQ
Functional test **after** fix https://youtu.be/XWOqqvRq-co
[REF] invoice_xunnel: complete search_invoice method to align it to vendor-bills
https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/153
Functional test **before** fix https://youtu.be/XWOqqvRq-co
Functional test **after** fix https://youtu.be/xUBmiaUuoOchttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/154[issue#14036][FIX] invoice_xunnel: add new parameter account_id and set param...2021-03-25T22:56:11ZEdilianny Sánchez[issue#14036][FIX] invoice_xunnel: add new parameter account_id and set parameters name### This MR references to ticket [#14036](https://www.vauxoo.com/web?debug=1#id=14036&model=helpdesk.ticket&view_type=form&menu_id=249)
Issue: https://youtu.be/2Q1SZcy2_Ng
Fix: https://youtu.be/NhJp6S-FIbU### This MR references to ticket [#14036](https://www.vauxoo.com/web?debug=1#id=14036&model=helpdesk.ticket&view_type=form&menu_id=249)
Issue: https://youtu.be/2Q1SZcy2_Ng
Fix: https://youtu.be/NhJp6S-FIbUOlar Alca [Vauxoo]oscar@vauxoo.comOlar Alca [Vauxoo]oscar@vauxoo.comhttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/153[FIX] invoice_xunnel: Replace corrupted xml data t440692021-02-08T18:06:55ZManuel Gómez [Vauxoo][FIX] invoice_xunnel: Replace corrupted xml data t44069### This MR is reference to Task [#44069](https://www.vauxoo.com/web#id=44069&model=project.task&view_type=form&menu_id=249)
<details>
<summary>[FIX] invoice_xunnel: Replace corrupted xml data</summary>
<pre>
The attribute xmlns:sch...### This MR is reference to Task [#44069](https://www.vauxoo.com/web#id=44069&model=project.task&view_type=form&menu_id=249)
<details>
<summary>[FIX] invoice_xunnel: Replace corrupted xml data</summary>
<pre>
The attribute xmlns:schemaLocation is replaced
by xsi:schemaLocation for the correct import of the data
</pre>
</details>
<b>DEMO:</b>
![Download_XML](/uploads/3ebb389e0f7c19bf09e9c49fff82dff1/2021-02-05_23-00-19.mp4)
<b>DEPLOY:</b>
![2021-02-08_11-15-40](/uploads/bfe0026163d654494b889f0c9f5cc63e/2021-02-08_11-15-40.mp4)
```
https://t44069-account-xunnel130.t02.deployv.com/web/login
Admin user: oscar@vauxoo.com
Admin password: QXqLlgoS28fVU5dVLkf2Uh9WvrvXyP
Super admin password: QXqLlgoS28fVU5dVLkf2Uh9WvrvXyP
```https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/152[issue#12762][FIX] invoice_xunnel: Complete vendor-bills feature for fuel codes2021-01-16T03:34:37ZEdilianny Sánchez[issue#12762][FIX] invoice_xunnel: Complete vendor-bills feature for fuel codes### This MR reference to ticket [#12762](https://www.vauxoo.com/web#view_type=form&model=helpdesk.ticket&id=12762&active_id=12762&menu_id=)
In this [method](https://git.vauxoo.com/vauxoo/xunnel-account/-/blob/13.0/invoice_xunnel/wizards...### This MR reference to ticket [#12762](https://www.vauxoo.com/web#view_type=form&model=helpdesk.ticket&id=12762&active_id=12762&menu_id=)
In this [method](https://git.vauxoo.com/vauxoo/xunnel-account/-/blob/13.0/invoice_xunnel/wizards/vendor_attach_xmls_wizard.py#L742) the `company.l10n_mx_edi_fuel_code_sat_ids` field is used but in the `invoice_xunnel` application that field does not exist.
The field is added in `vendor-bills` in this [MR](https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/141)
When separated `vendor-bills` of `invoice_xunnel` that change was not included.
This MR fix that.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/151[issue#12603][FIX] invoice_xunnel: Avoid traceback when l10n_mx_edi_cfdi_uuid...2021-01-06T16:24:23ZEdilianny Sánchez[issue#12603][FIX] invoice_xunnel: Avoid traceback when l10n_mx_edi_cfdi_uuid is False### This MR is reference to Ticket [#12603](https://www.vauxoo.com/web#id=12603&model=helpdesk.ticket&view_type=form&menu_id=249)
Avoid error when field l10n_mx_edi_cfdi_uuid is False
``AttributeError: 'bool' object has no attribute '...### This MR is reference to Ticket [#12603](https://www.vauxoo.com/web#id=12603&model=helpdesk.ticket&view_type=form&menu_id=249)
Avoid error when field l10n_mx_edi_cfdi_uuid is False
``AttributeError: 'bool' object has no attribute 'lower'``
### [Video of the issue](https://youtu.be/EztQjKdIMOM)
### [Video with this fix](https://youtu.be/_CNAg3XXaFI)https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/150[issue#12603][FIX] invoice_xunnel: Search invoice related to credit note2020-12-30T20:42:25ZEdilianny Sánchez[issue#12603][FIX] invoice_xunnel: Search invoice related to credit note### This MR is reference to Ticket [#12603](https://www.vauxoo.com/web#id=12603&model=helpdesk.ticket&view_type=form&menu_id=249)
**Case:**
Invoice with uuid `6A8F9B60-2B51-4F05-93B4-8BC418C3166C` (**uppercased**)
Credit note that co...### This MR is reference to Ticket [#12603](https://www.vauxoo.com/web#id=12603&model=helpdesk.ticket&view_type=form&menu_id=249)
**Case:**
Invoice with uuid `6A8F9B60-2B51-4F05-93B4-8BC418C3166C` (**uppercased**)
Credit note that contains in the `CfdiRelacionado` node: `<cfdi:CfdiRelacionado UUID="6a8f9b60-2b51-4f05-93b4-8bc418c3166c"/>` (**lowercased**)
When importing the xml of the credit note, does not get the
related invoice, because it does not compare upper and lower case for
uuid.
This fix changes the uuid of the invoices found to lowercase and the
uuid of the XML of the credit note to lowercase, to compare them.
### [Issue](https://youtu.be/vuguZjk-dfo)
### Fix in vendor-bills https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/175https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/149[FIX] DeployV must be installed using deployv t431392020-12-21T15:38:23ZManuel Gómez [Vauxoo][FIX] DeployV must be installed using deployv t43139This MR is reference to [TASK#43139](https://www.vauxoo.com/web#id=43139&action=470&model=project.task&view_type=form&menu_id=317)
```
Recently a version of DeployV was released that turned some builds red.
This is because everything is...This MR is reference to [TASK#43139](https://www.vauxoo.com/web#id=43139&action=470&model=project.task&view_type=form&menu_id=317)
```
Recently a version of DeployV was released that turned some builds red.
This is because everything is being migrated to py3, losing backward compatibility with py2.
```
[Original MR](https://git.vauxoo.com/vauxoo/project-template/-/merge_requests/53)https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/148[FIX] account_xunnel: Multicompany security issues t432232020-12-21T15:18:35ZManuel Gómez [Vauxoo][FIX] account_xunnel: Multicompany security issues t43223### This MR is reference to Ticket [#11904](https://www.vauxoo.com/web#id=11904&model=helpdesk.ticket&view_type=form&menu_id=)
### This MR is reference to Task [#42643](https://www.vauxoo.com/web#id=42643&model=project.task&view_type=for...### This MR is reference to Ticket [#11904](https://www.vauxoo.com/web#id=11904&model=helpdesk.ticket&view_type=form&menu_id=)
### This MR is reference to Task [#42643](https://www.vauxoo.com/web#id=42643&model=project.task&view_type=form&menu_id=)
ISSUE:
![iSSUE_XUNNEL](/uploads/ae97f8fb72f1bb590503427bd24127f0/iSSUE_XUNNEL.webm)
FIX:
![FIX_XUNNEL](/uploads/80d2599698b7afab529affd2941b1e75/FIX_XUNNEL.webm)
```
https://t43223-account-xunnel130.t02.deployv.com/
Admin user: oscar@vauxoo.com
Admin password: P4k4UygEXjZIOoBbkVQvkSjHwWgU9V
```https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/147[FIX] .gitlab-ci: Force python3 when installing Deployv's gitlab-tools t#428182023-01-06T04:15:04ZLuis González[FIX] .gitlab-ci: Force python3 when installing Deployv's gitlab-tools t#42818Python 2.7 support has been officially dropped, and so did DeployV.Python 2.7 support has been officially dropped, and so did DeployV.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/146[FIX] invioce_xunnel: fixes in multiompany permissions issues2020-09-24T23:21:11ZJesús Alan Ramos Rodríguez[FIX] invioce_xunnel: fixes in multiompany permissions issueshttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/145[issue#11159] [FIX] invoice_xunnel: Avoid creating new attached xml and signi...2020-09-07T20:02:26ZEdilianny Sánchez[issue#11159] [FIX] invoice_xunnel: Avoid creating new attached xml and signing it- When attaching a customer invoice, it must not sign the xml or create a new one, it must associate the attachment that is uploaded and update the status (pac, sat) of the invoice.- When attaching a customer invoice, it must not sign the xml or create a new one, it must associate the attachment that is uploaded and update the status (pac, sat) of the invoice.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/144[FIX] invoice_xunnel: vendor bills old field in refounded invoices. i#110402020-08-19T20:51:15ZJavier Vega[FIX] invoice_xunnel: vendor bills old field in refounded invoices. i#11040[This](https://www.vauxoo.com/web#id=11040&model=helpdesk.ticket&view_type=form&menu_id=) traceback is being thrown.
The latter due to this [line](https://git.vauxoo.com/vauxoo/vendor-bills/-/blob/13.0/l10n_mx_edi_vendor_bills/wizards...[This](https://www.vauxoo.com/web#id=11040&model=helpdesk.ticket&view_type=form&menu_id=) traceback is being thrown.
The latter due to this [line](https://git.vauxoo.com/vauxoo/vendor-bills/-/blob/13.0/l10n_mx_edi_vendor_bills/wizards/attach_xmls_wizard.py#L688) (which is from [this](https://github.com/odoo/odoo/blob/12.0/addons/account/models/account_invoice.py#L329) version).
Now the [correct field](https://github.com/odoo/odoo/blob/13.0/addons/account/models/account_move.py#L174) is used.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/143[FIX] l10n_mx_edi_vendor_bills/customer: Avoid recalculate taxes.2020-08-19T04:50:21ZLuis Ernesto Torres Macías[FIX] l10n_mx_edi_vendor_bills/customer: Avoid recalculate taxes.When a CFDI has more decimals that Odoo, when you try to re-calculate
the taxes, an error is shown because the amounts could change.
```
Error: No se puede crear una entrada de diario no balanceada.. Ids: [209]
Diferencias débito - cré...When a CFDI has more decimals that Odoo, when you try to re-calculate
the taxes, an error is shown because the amounts could change.
```
Error: No se puede crear una entrada de diario no balanceada.. Ids: [209]
Diferencias débito - crédito: [0.08]
```
Now was fixed
Copies from:
https://git.vauxoo.com/vauxoo/vendor-bills/-/commit/e80fb05f57ae53b9b92a35175f539602aa76907ahttps://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/142[FIX] invoice_xunnel: filters and search by status t410592020-08-18T16:23:55ZOlar Alca [Vauxoo]oscar@vauxoo.com[FIX] invoice_xunnel: filters and search by status t41059- Turns out that the `sat_status` computed field was set
as `store=False`, this was making that every time you
opened the Documents view there was a request for each
attachment to the SAT to compute the Invoice's status
and you couldn't ...- Turns out that the `sat_status` computed field was set
as `store=False`, this was making that every time you
opened the Documents view there was a request for each
attachment to the SAT to compute the Invoice's status
and you couldn't search by status, with this changes
we re enable the search by status and we avoid making
requests every time we wanted to see an invoice.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/141The vendor bill file was updated to accept unwatned taxes task#395032020-08-19T03:17:55ZJavier VegaThe vendor bill file was updated to accept unwatned taxes task#39503[This feature](https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/146/diffs) was added to the vendor bills internal versions.
https://www.vauxoo.com/web#id=10963&model=helpdesk.ticket&view_type=form&menu_id=[This feature](https://git.vauxoo.com/vauxoo/vendor-bills/-/merge_requests/146/diffs) was added to the vendor bills internal versions.
https://www.vauxoo.com/web#id=10963&model=helpdesk.ticket&view_type=form&menu_id=https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/140[ADD_NO_CHANGELOG][13.0] Multicompany security issues2020-08-19T02:53:39ZJavier Vega[ADD_NO_CHANGELOG][13.0] Multicompany security issues
Steps to reproduce
==================
Having 2 users: 1 super admin, 1 demo. And 2 companies: A and B.
Super admin having the allowed companies: A and B. And demo only having B.
1. Login as Demo, and try to open the wizard to synchr...
Steps to reproduce
==================
Having 2 users: 1 super admin, 1 demo. And 2 companies: A and B.
Super admin having the allowed companies: A and B. And demo only having B.
1. Login as Demo, and try to open the wizard to synchronize Xunnel documents.
Expected
========
Work as normal
Current
=======
Exception for trying to modify another company.https://git.vauxoo.com/vauxoo/xunnel-account/-/merge_requests/139[UPD] invoice_xunnel: The files for importing and exporting bills were update...2020-08-14T19:57:57ZJavier Vega[UPD] invoice_xunnel: The files for importing and exporting bills were updated i#10948