forked from Yaltik/golem
[FIX]GOLEM Resource Account : post merge rename
This commit is contained in:
parent
cb33dda359
commit
2eb4845dfa
@ -78,7 +78,7 @@ class TestGolemResourceReservation(TransactionCase):
|
||||
'product_tmpl_id': self.env.ref('product.product_product_5').id})
|
||||
reservation.create_invoice()
|
||||
self.assertTrue(reservation.invoice_id)
|
||||
self.assertEqual(reservation.invoicing_state, "draft")
|
||||
self.assertEqual(reservation.invoice_state, "draft")
|
||||
|
||||
def test_multiple_reservation_in(self):
|
||||
""" Test Multiple Reservation Invoices """
|
||||
|
@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name='inherit_id' ref="golem_resource.golem_resource_reservation_view_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//tree" position="attributes">
|
||||
<attribute name="colors">red : invoicing_state=='open'; green : invoicing_state=='paid'; black: state=='draft'; blue : state=='validated'; grey : state=='canceled'; orange : state=='rejected'</attribute>
|
||||
<attribute name="colors">red : invoice_state=='open'; green : invoice_state=='paid'; black: state=='draft'; blue : state=='validated'; grey : state=='canceled'; orange : state=='rejected'</attribute>
|
||||
</xpath>
|
||||
<field name="state" position="after">
|
||||
<field name="invoice_id" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user