fix(account.voucher): Pagos a una factura en el mismo día
All threads resolved
Se cambia la condición de los pagos de la factura, antes se tomaba la fecha de las lineas de
account.move.line
y lo diferenciaba con la fecha de voucher que se estaba firmando en ese momento.
Ahora se filtra la fecha de creación de los pagos con el ultimo pago de esa factura para que haga el
proceso correcto y calcule el ImpSaldoInsoluto
correctamente.
Closed #31 (closed)
- Resolved by Agustín Cruz
Correcciones a los siguientes mensajes del lint:
************* Module l10n_mx_facturae l10n_mx_facturae/views/account_invoice.xml:40: [W7937(xml-attribute-translatable), ] The xml attribute is missing the translation="off" tag xml_id l10n_mx_facturae/views/account_invoice.xml:41: [W7937(xml-attribute-translatable), ] The xml attribute is missing the translation="off" tag xml_id l10n_mx_facturae/views/account_invoice.xml:42: [W7937(xml-attribute-translatable), ] The xml attribute is missing the translation="off" tag xml_id l10n_mx_facturae/views/account_voucher.xml:41: [W7937(xml-attribute-translatable), ] The xml attribute is missing the translation="off" tag xml_id l10n_mx_facturae/views/account_voucher.xml:42: [W7937(xml-attribute-translatable), ] The xml attribute is missing the translation="off" tag xml_id ************* Module l10n_mx_facturae.models.account_invoice l10n_mx_facturae/models/account_invoice.py:422: [R1710(inconsistent-return-statements), AccountInvoiceLine.export_invoice_line_for_xml.process_tax] Either all return statements in a function should return an expression, or none of them should. l10n_mx_facturae/models/account_invoice.py:461: [C1801(len-as-condition), AccountInvoiceLine.export_invoice_line_for_xml] Do not use `len(SEQUENCE)` to determine if a sequence is empty ************* Module l10n_mx_facturae.models.account_move l10n_mx_facturae/models/account_move.py:26: [W8115(translation-contains-variable), AccountMove.button_validate] Translatable term in ""Can't post the entry %s the related invoice is in waiting state to cancel" % account_move.name" contains variables. Use _("Can't post the entry %s the related invoice is in waiting state to cancel") % account_move.name instead ************* Module l10n_mx_facturae.report.account_invoice l10n_mx_facturae/report/account_invoice.py:11: [R0201(no-self-use), Parser._qrcode_string] Method could be a function ************* Module l10n_mx_facturae.report.account_voucher l10n_mx_facturae/report/account_voucher.py:10: [E1003(bad-super-call), Parser.__init__] Bad first argument 'self.__class__' given to super() l10n_mx_facturae/report/account_voucher.py:13: [R0201(no-self-use), Parser._datosqr] Method could be a function
- Last reply by Agustín Cruz
mentioned in issue #32 (closed)
added 1 commit
- db37a1c7 - style(l10n_mx_facturae): Estilo en el codigo
added 1 commit
- 23c07278 - style(l10n_mx_facturae): Estilo en el codigo
added 1 commit
- 64fc4997 - style(l10n_mx_facturae): Estilo en el codigo
added 1 commit
- be3de95b - style(l10n_mx_facturae): Estilo en el codigo
added 1 commit
- 3b912949 - style(l10n_mx_facturae): Estilo en el codigo
@OpenPymeMx Listo ya quedaron los test, lo hice de esa forma de inhabilitar los msj que arrojo el
lint
para no modificar la funcionalidad.mentioned in issue pyerp/bench#53 (closed)
Please register or sign in to reply