Commit Graph

29 Commits

Author SHA1 Message Date
OCA Transbot
d22edebe98 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-10.0/account-financial-tools-10.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-10-0/account-financial-tools-10-0-account_invoice_tax_required/
2019-03-12 12:28:21 +00:00
oca-travis
3d65b917bb [UPD] Update account_invoice_tax_required.pot 2019-03-12 12:27:41 +00:00
Pedro M. Baeza
d3f0fdd2cd [FIX] account_invoice_tax_required: Fix tests 2019-03-12 13:13:57 +01:00
Pedro M. Baeza
b9d88dd988 [FIX] account_invoice_tax_required: Avoid gaps in sequence
Using `invoice_validate` method for validating invoice, makes the call to the sequence
to be done before, and although rollbacking the transaction, the next number is already
assigned and then you may have gaps in your numbering.

Thus, we do the check before this, on the first executed method.
2019-03-12 12:38:39 +01:00
oca-travis
411388a3b3 [UPD] Update account_invoice_tax_required.pot 2018-06-22 22:39:41 +00:00
Stéphane Bidoul (ACSONE)
3f396864d4 remove obsolete .pot files [ci skip] 2018-06-15 22:58:57 +02:00
Jairo Llopis
e71b130432 [FIX] account_invoice_tax_required: Pass integration tests
Tests fail if `sale` is preinstalled, with:

    ERROR: test_exception (odoo.addons.account_invoice_tax_required.tests.test_account_invoice_tax_required.TestAccountInvoiceTaxRequired)
    ` Validate invoice without tax must raise exception
    Traceback (most recent call last):
    `   File "/opt/odoo/auto/addons/account_invoice_tax_required/tests/test_account_invoice_tax_required.py", line 42, in setUp
    `     'description': 'Test',
    `   File "/opt/odoo/auto/addons/product/models/product.py", line 320, in create
    `     product = super(ProductProduct, self.with_context(create_product_product=True)).create(vals)
    `   File "/opt/odoo/auto/addons/mail/models/mail_thread.py", line 228, in create
    `     thread = super(MailThread, self).create(values)
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3847, in create
    `     record = self.browse(self._create(old_vals))
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3908, in _create
    `     parent_id = self.env[parent_model].create(parent_vals).id
    `   File "/opt/odoo/auto/addons/product/models/product_template.py", line 267, in create
    `     template = super(ProductTemplate, self).create(vals)
    `   File "/opt/odoo/auto/addons/mail/models/mail_thread.py", line 228, in create
    `     thread = super(MailThread, self).create(values)
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3847, in create
    `     record = self.browse(self._create(old_vals))
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3942, in _create
    `     cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))
    `   File "/opt/odoo/custom/src/odoo/odoo/sql_db.py", line 154, in wrapper
    `     return f(self, *args, **kwargs)
    `   File "/opt/odoo/custom/src/odoo/odoo/sql_db.py", line 231, in execute
    `     res = self._obj.execute(query, params)
    ` IntegrityError: null value in column "sale_line_warn" violates not-null constraint
    ` DETAIL:  Failing row contains (42, null, 100.00, null, 1, null, 1, 1, null, null, 2018-05-15 08:03:45.708787, 1, t, t, null, 1, 1, null, Test, null, 2018-05-15 08:03:45.708787, t, 1, Test, f, service, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null).
2018-05-16 09:07:18 +01:00
cubells
1ffbe72119 [FIX] account_invoice_tax_required: missing permission 2018-02-28 18:18:41 +01:00
Jairo Llopis
74419b51eb [FIX] account_invoice_tax_required: No conflict installing other modules (#617)
When this addon is installed and you install l10n_generic_coa with demo data, it crashes. Now it doesn't.
2018-02-27 12:50:49 +01:00
OCA Transbot
2a1c157534 OCA Transbot updated translations from Transifex 2018-02-24 00:20:18 +01:00
OCA Transbot
a6fedee9c2 OCA Transbot updated translations from Transifex 2018-01-27 00:19:18 +01:00
OCA Transbot
054c3fc3d5 OCA Transbot updated translations from Transifex 2017-12-23 00:16:59 +01:00
OCA Transbot
486bf31cf8 OCA Transbot updated translations from Transifex 2017-12-02 00:19:30 +01:00
Kitti U
e0adcc81b7 [MIG] account_tax_invoice_required: Migrated to 10.0 2017-05-29 23:32:34 +07:00
Angel Moya - PESOL
a3044769c0 account_invoice_tax_required (#404) 2017-05-16 23:12:18 +07:00
Pedro M. Baeza
3441e7753a [MIG] Rename manifest files 2016-10-06 14:46:03 +02:00
Stéphane Bidoul (ACSONE)
1e4078b23e [FIX] remove en.po that was erroneously created by transbot 2016-08-15 18:54:03 +02:00
Pedro M. Baeza
ea8dc4862e [MIG] Make modules uninstallable 2015-10-14 02:52:55 +02:00
Stéphane Bidoul
de0ddf73c8 [UPD] prefix versions with 8.0 2015-10-09 09:59:23 +02:00
OCA Transbot
3eb30c51e3 OCA Transbot updated translations from Transifex 2015-09-19 19:28:49 -04:00
OCA Transbot
5526efc8e7 OCA Transbot updated translations from Transifex 2015-09-12 17:39:28 -04:00
Yannick Vaucher
2d4f55e502 Add missing default oca icons 2015-08-18 10:32:25 +02:00
vrenaville
2a16cb3fb0 [FIX] version 2015-07-01 12:04:09 +02:00
vrenaville
3135646d1e [FIX] remove non related file 2015-06-29 14:46:58 +02:00
vrenaville
d5c0c53e47 [ADD] change error message 2015-06-23 16:48:03 +02:00
vrenaville
4324c0db0a [FIX] replace {} variable 2015-06-17 08:45:41 +02:00
vrenaville
88aacb4759 [FIX] Tracker link 2015-06-16 17:03:20 +02:00
vrenaville
31cbecf511 [FIX] remove deprecated code + add contributor + issue tracking 2015-06-16 16:22:47 +02:00
vrenaville
44726b34d6 [ADD] account_invoice_tax_required 2015-06-15 13:40:10 +02:00