mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP+FIX] contract: Several things
- Add failing test for next invoice date before the last date invoiced - raise an error when next invoice date before the last date invoiced - Add note field to contract - add new option: create_new_line_at_contract_line_renew Add a company config option to decide whether to create or to extend contract line at renew action - extend contract line at renewal - improve code: unify methods argument _renew_create_line and _renew_extend_line
This commit is contained in:
committed by
Christopher Rogos
parent
954262697d
commit
90fa0e055f
@@ -91,6 +91,8 @@ class ContractContract(models.Model):
|
||||
string='Commercial Entity',
|
||||
index=True
|
||||
)
|
||||
tag_ids = fields.Many2many(comodel_name="contract.tag", string="Tags")
|
||||
note = fields.Text(string="Notes")
|
||||
|
||||
@api.multi
|
||||
def _inverse_partner_id(self):
|
||||
|
||||
Reference in New Issue
Block a user