Community mailing list archives

community@mail.odoo.com

Re: error while validating purchase invoice

by
shabeer
- 08/24/2016 04:31:05
once i installed 
account_clean_cancelled_invoice_number 
which is resetting move_name to false

------------------------------
class invoice(models.Model):
    _inherit = 'account.invoice'

    @api.multi
    def clean_internal_number(self):
        # We also clean reference for compatibility with argentinian localization
        self.move_name = False
-------------------------

On Wed, Aug 24, 2016 at 1:47 PM, Nhomar Hernandez <nhomar@vauxoo.com> wrote:

On Wed, Aug 24, 2016 at 2:47 AM, shabeer m <msg2shabeer@gmail.com> wrote:
i am getting an error like these while am trying to validate an invoice


What modules from community do you have installed?

It looks like an error when you modify the account module in the workflow on invoices (it happen to us).


--
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
with regards
Shabeer M
Contact : 94 00 7 44 77 6