mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] rma: fix error in refund button
This commit is contained in:
@@ -164,6 +164,9 @@ Contributors
|
||||
|
||||
* Chafique Delli <chafique.delli@akretion.com>
|
||||
* Giovanni Serra - Ooops <giovanni@ooops404.com>
|
||||
* `Nuobit <https://www.nuobit.com>`_:
|
||||
|
||||
* Frank Cespedes <fcespedes@nuobit.com>
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
||||
@@ -1029,6 +1029,7 @@ class Rma(models.Model):
|
||||
"""
|
||||
self.ensure_one()
|
||||
invoice_form.partner_id = self.partner_invoice_id
|
||||
invoice_form.invoice_date = fields.Date.context_today(self)
|
||||
# Avoid set partner default value
|
||||
invoice_form.invoice_payment_term_id = self.env["account.payment.term"]
|
||||
|
||||
|
||||
@@ -6,3 +6,6 @@
|
||||
|
||||
* Chafique Delli <chafique.delli@akretion.com>
|
||||
* Giovanni Serra - Ooops <giovanni@ooops404.com>
|
||||
* `Nuobit <https://www.nuobit.com>`_:
|
||||
|
||||
* Frank Cespedes <fcespedes@nuobit.com>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
@@ -518,6 +517,10 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||
</li>
|
||||
<li>Chafique Delli <<a class="reference external" href="mailto:chafique.delli@akretion.com">chafique.delli@akretion.com</a>></li>
|
||||
<li>Giovanni Serra - Ooops <<a class="reference external" href="mailto:giovanni@ooops404.com">giovanni@ooops404.com</a>></li>
|
||||
<li><a class="reference external" href="https://www.nuobit.com">Nuobit</a>:<ul>
|
||||
<li>Frank Cespedes <<a class="reference external" href="mailto:fcespedes@nuobit.com">fcespedes@nuobit.com</a>></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
|
||||
Reference in New Issue
Block a user