From 4911320b9e0fa083069ee16a132c005de7d810b3 Mon Sep 17 00:00:00 2001 From: sbejaoui Date: Tue, 14 Apr 2020 11:25:09 +0200 Subject: [PATCH] [IMP] - Contract: add new recurring_rule_type quarterly and semesterly --- product_contract/models/product_template.py | 2 ++ product_contract/models/sale_order_line.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/product_contract/models/product_template.py b/product_contract/models/product_template.py index 3ce6bdc44..0e784d993 100644 --- a/product_contract/models/product_template.py +++ b/product_contract/models/product_template.py @@ -22,6 +22,8 @@ class ProductTemplate(models.Model): ('weekly', 'Week(s)'), ('monthly', 'Month(s)'), ('monthlylastday', 'Month(s) last day'), + ('quarterly', 'Quarter(s)'), + ('semesterly', 'Semester(s)'), ('yearly', 'Year(s)'), ], default='monthly', diff --git a/product_contract/models/sale_order_line.py b/product_contract/models/sale_order_line.py index bcaf1cef8..4883306db 100644 --- a/product_contract/models/sale_order_line.py +++ b/product_contract/models/sale_order_line.py @@ -27,6 +27,8 @@ class SaleOrderLine(models.Model): ('weekly', 'Week(s)'), ('monthly', 'Month(s)'), ('monthlylastday', 'Month(s) last day'), + ('quarterly', 'Quarter(s)'), + ('semesterly', 'Semester(s)'), ('yearly', 'Year(s)'), ], default='monthly',