-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][ADD] sale_seasonality #3264
base: 16.0
Are you sure you want to change the base?
Conversation
8ce1417
to
ceec141
Compare
a3886c3
to
650054d
Compare
Hello @kevinkhao, shouldn't the campaign field be made required on sales orders? To see orders on sale report |
650054d
to
138d5d5
Compare
@mathieudelva this would make sense for the usage of this module. However, adding a required field for an optional functionality seems heavy-handed to me. On our side, we used sale_exception to force our client to use campaigns on sale orders |
138d5d5
to
1ce7578
Compare
@kevinkhao So, to be coherent, shouldn't it be named sale_simple_seasonality ? |
@rousseldenis thanks for your suggestion but I think a better plan could be to converge in future version, i.e. 18.0 to product_seasonnality (product_simple_seasonnality in 16.0) and sale_seasonnality. Maybe @camptocamp could plug its features in product_simple_seasonnality 16.0 / product_seasonnality 18.0 |
@rousseldenis as of now the difference is minimal but it makes sense to revisit and create a discussion around these functionalities and C2C's modules when migration time comes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some remarks.
Also could be nice to have minimal demo data to match campaign with seasons to see data in 'Report' pivot table ?
Maybe you could add a screenshot with these data to make this module more attractive ?
EDIT: I suppose than in Sale 'Report' pivot table, date in Y axis should be replaced by Campaign first. Currently you defined only season not campaign it seems. @PaulGoubert could you confirm ?
Thanks a lot
sale_seasonality/__manifest__.py
Outdated
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Product Campaign Seasonality", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to fix, same as technical name I suppose
sale_seasonality/__manifest__.py
Outdated
{ | ||
"name": "Product Campaign Seasonality", | ||
"summary": """ | ||
Product campaign seasonality""", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to fix
"license": "AGPL-3", | ||
"author": "Akretion,Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/sale-workflow", | ||
"depends": ["product_simple_seasonality", "sale"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sale depends on utm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right
"license": "AGPL-3", | ||
"author": "Akretion,Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/sale-workflow", | ||
"depends": ["product_simple_seasonality", "sale"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sale depends on utm
@bealdav I think the module should preserve Odoo's native functionality as much as possible and putting seasonality as 1st filter should be done in custom |
1ce7578
to
a17d0cc
Compare
a17d0cc
to
2666518
Compare
This module modifies campaigns to allow for tracking seasonality and campaigns of sales for better reporting. | ||
|
||
|
||
.. image:: /sale_product_set/static/description/sale_order.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this image ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This syntax is better I suppose
.. figure:: ../static/description/my.png
a72b72c
to
a804ce8
Compare
7937e43
to
8b5eb01
Compare
8b5eb01
to
0524311
Compare
depends on OCA/product-attribute#1705