oca / sale-promotion Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
Is your feature request related to a problem?
When you sale gift card, by default, all the profit comes to a specific account set on the Gift Card product. This account has to be a separated account from the classic receipt account :
As the Gift Card is expired, accounter needs to move that value to another account.
Example in France :
1- A gift card is sold :
Account | Deb | Cred | |
---|---|---|---|
531000 | Compte Banque ou compte Caisse | 60 | |
467500 | Autres Tiers Créditeurs | 60 |
2 - A gift card is used :
Account | Deb | Cred | |
---|---|---|---|
467500 | Autres Tiers Créditeurs | 40 | |
707000 | Vente de marchandises | 40 |
3 - As the gift card is expired, we should do this move :
Account | Deb | Cred | |
---|---|---|---|
467500 | Autres Tiers Créditeurs | 20 | |
771810 | Produits exceptionnels de gestion | 20 |
Describe the solution you'd like
Ma y question is : What is the best way to do that ?
I thought about a planned action that check the expired gift card to move the amount to the correct account :
Additional context
Add a Expired account :
As the gift card is expired, move the balance to the specific account
Looks like coupon_domain_product_discount can not be used without
sale_coupon_domain_product_discount
"depends": ["sale_coupon", "coupon_domain_product_discount"],
but
coupon_domain_product_discount depends also from sale_coupon_domain_product_discount
coupon_domain_product_discount/models/coupon_program.py", line 25, in _filter_not_ordered_reward_programs
domain = order._get_reward_values_discount_strict_limit_lines(program)
AttributeError: 'sale.order' object has no attribute '_get_reward_values_discount_strict_limit_lines'
coupon_domain_product_discount
Version: 15.0.1.1.0
If Strict Per Product Limit was enabeld I get error above
Steps to reproduce the behavior:
Expected behavior
no error
one module or definition of function also in coupon_domain_product_discount
@sbidoul I'm not able to see why POT files of latest modules has not been generated through Travis. Can you please take a look?
I'm using the sale_coupon_multi_gift module and I have a problem I don't know how to solve.
I have a promo where if a user adds the product A to his cart I gift him the product B (which is a product he can buy in my website). Once he has selected the product A, he will never be able to buy any more units of product B.
How should I proceed to do this?
Thank you.
coupon_limit
Iam on Odoo 15 community edition. I have enabled Promotions for my POS and have installed Coupon Limit | Odoo Apps Store app and set the Max. Customer Applications as below
The output expected is that the promotion should be applied to the customer only once but the promotion is getting applied multiple times for the customer. Kindly help
Odoo 15 Community Edition
Steps to reproduce the behavior:
1.Set the Max. Customer Applications to 1
2. Open POS and Add products worth more than the limit set
3. Promotion is getting applied more than the once
Expected behavior
The output expected is that the promotion should be applied to the customer only once but the promotion is getting applied multiple times for the customer.
Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
https://github.com/OCA/sale-promotion/tree/13.0/sale_coupon_multiplier_free_product
Module name + usage file seem to belong to https://github.com/OCA/sale-promotion/tree/13.0/website_sale_coupon_restrict
Hello everyone,
I was willing to migrate this module from v13.0 to v14.0, but it seems there's no branch 14.0 yet.
Could someone create it, please?
After installing sale_coupon_refresh, Promotions are properly applied automatically on sale orders.
However, if I change my mind and update the sale order to remove either promotion line or the sale order line at the origin of the promotion I get a
MissingError : Missing Record
Record does not exist or has been deleted.
I have been trying to look where the problem stood but could not find the source of the issue...
Hello,
In order to upgrade Odoo from an old version, we need to have an equivalent (on input side) to unit of sale.
UoS was used to have a custom price for a pack of mutiple similar piece (e.g. to have 5 apples weighting 80 gram each in one sale.order.line).
To this end, we prepare a module that convert user input (_coef and _qty) to the standard field (uom_quantity).
Is is this the right repo to propose this module ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.