OCA-git-bot
babd7e5fa8
[ADD] icon.png
6 years ago
Jairo Llopis
783402965b
[FIX] pos_pricelist: Use lower-version date comparison
The removed function was introduced in momentjs in version 2.11.0, but Odoo 10.0 ships 2.8.1, so I'm using a different comparison system here that should yield the same results without exceptions.
7 years ago
Jairo Llopis
280f0934a1
[MIG] pos_pricelist: Migrate to v10 by backporting from v11 ( #247 )
This module included previously support for taxes and pricelists.
Taxes are now included in upstream Odoo v10, so that feature is removed.
The pricelist feature, however, is supported in upstream Odoo v11. Thus, to ease the migration path, that functionality has been scalpel-backported from there.
This also means a great diff between previous OCA-only code and current Odoo-backport-only code, but with the advantage that the end user gets exactly the behavior that he would have when updating to v11.
Since most of the code has been copied from Odoo, the addon now has to become LGPL, and Odoo has been added as an author.
7 years ago
Antonio Espinosa
e9ac0d5d7a
[IMP] Show unit price when qty is not 1
9 years ago
Juan Carlos Montoya
2459a32a3d
Update models.js
9 years ago
Juan Carlos Montoya
f8068a9db7
Update models.js
9 years ago
Maxime Vanderhaeghe
8d770ebd9b
[FIX] : Allow possibility to give 100% discount.
9 years ago
PabloCM
4f71da443a
[FIX] Renamed method and var for clarity
9 years ago
PabloCM
0a1a57c33c
[FIX] Lookup of taxes not found in fiscal position mappings
[FIX] Style and garbage code
9 years ago
PabloCM
2fbf539564
[FIX] The backend now handles properly the fiscal position conversion of taxes applied on the frontend
9 years ago
PabloCM
57a30cc8c3
[FIX] Fiscal position tax mapping
It was adding to the product all the right-handed taxes found in the fiscal position, not taking into account the product source tax.
10 years ago
PabloCM
87891a63bf
[IMP] The pricelist in the current pos.config is used as default instead of the sistem-wide default
10 years ago
Adil Houmadi
09796b8947
[FIX] : typo
10 years ago
Adil Houmadi
5261216b01
[IMP] : Take in account @antespi remark's
Clean way to inherit in JS And improve get_display_price method
10 years ago
Adil Houmadi
9663670948
[ADD] : When we mouseover the price tag, a tooltip is shown to indicate the computation depending on the quantity like this output :
1x -> 100 €
3x -> 70 €
5x -> 50 €
[IMP] : update readme to indicate the new improvements
10 years ago
Adil Houmadi
f5d7493379
[IMP] : simplify JS for price computation (get_all_prices)
10 years ago
Adil Houmadi
cd4d2508ee
[ADD] : - add support for price with taxes, new option is introduced in the POS config to let the user show price with taxes in product widget.
- the UI is updated when we change the customer in order to adapt the prices
- the computation take in account the pricelist and the fiscal position of the customer
10 years ago
Adil Houmadi
f470ba6a83
[IMP] : remove _super method from Backbone.Model.
Never manipulate the native Backbone.Model entity like this way because it is considered as bad practice.
10 years ago
Adil Houmadi
c0455ba4a8
[IMP] : improve JS indentation
10 years ago
Adil Houmadi
fddc8f531f
[FIX] : Fix omitted instruction on taxes_ids
10 years ago
Adil Houmadi
90e2579c9b
[REF] : introduce a new class PricelistEngine to refactor the code
[IMP] : refresh product UI to reflects while selecting a customer
For more details see the first point of this comment : https://github.com/OCA/pos/pull/6#issuecomment-68455367
10 years ago
Adil Houmadi
3bff8f1c4f
[FIX] : access to db differently, context is much important !
10 years ago
Adil Houmadi
2092500fea
[ADD] Some functional testing
10 years ago
Adil Houmadi
91fc78d2ab
[CHG] : Rename README to README.rst ( https://github.com/OCA/pos/pull/6#issuecomment-66383621 )
[CHG] : Rename module to pos_pricelist instead of the old one
[FIX] : Fix typo mentioned on this comments :
- https://github.com/OCA/pos/pull/6#discussion_r21574900
- https://github.com/OCA/pos/pull/6#commitcomment-9012800
[IMP] : Recover a missed feature while setting a price for an orderline https://github.com/OCA/pos/pull/6#discussion_r21575474
[IMP] : Switch to while loop while iterating over an array
[REM] : Avoid bad practice on Object Class : https://github.com/OCA/pos/pull/6#commitcomment-9012727
10 years ago