Merge branch 'cor_cr' into 'master'

report sub updated

See merge request prakash.jain/cor-odoo!258
This commit is contained in:
prakash.jain 2022-10-04 07:45:52 +05:30
commit af78ed38c0
1 changed files with 3 additions and 1 deletions

View File

@ -183,7 +183,7 @@ data1 as (
AAL.id,
AAL.start_datetime
),
sub_data1 as (
data1_sub as (
SELECT
TO_CHAR(start_datetime, 'YYYY-MM-01')::date as start_date,
(date_trunc('month', end_datetime) + interval '1 month' - interval '1 day')::date as end_date,
@ -800,6 +800,8 @@ invoice_data_sub as (SELECT
res as (
select * from data1
UNION
select * from data1_sub
UNION
select * from data2
UNION
select * from data2_sub_project