Browse Source

[IMP] contract: Add past receipt type. Fix yearly. Add month last day

pull/238/head
Carlos Dauden 8 years ago
committed by sbejaoui
parent
commit
dc1e071d1d
  1. 2
      contract_variable_quantity/tests/test_contract_variable_quantity.py

2
contract_variable_quantity/tests/test_contract_variable_quantity.py

@ -54,7 +54,7 @@ class TestContractVariableQuantity(common.SavepointCase):
self.formula.code = "user.id"
def test_check_variable_quantity(self):
self.contract._create_invoice(self.contract)
self.contract._create_invoice()
invoice = self.env['account.invoice'].search(
[('contract_id', '=', self.contract.id)])
self.assertEqual(invoice.invoice_line_ids[0].quantity, 12)
Loading…
Cancel
Save