Odoo Help

0

0
1 Answer
0
Avatar

Zbik

--Zbik--
10913
| 7 6 9
Łódź, Polonia
--Zbik--


Zbik
22/05/19, 11:04

Probably because the _write method in account_invoice (exact action_invoice_paid method called here) recalculates this field and sets it up in its own way

You modify write method in account_invoice, like this (but ... think about whether you do well by setting this status yourself):

@api.multi
def write(self, vals):
ret = super(AccountInvoice, self).write(vals)
... your logic here ...
return ret

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now