ssaid
b294fd2540
[8.0] [IMP] pos_pricelist: Only retrieve the pricelists that are needed and not all ( #260 )
* [ADD] Filter pricelist by pos
* [MOD] Send the pos_config_id by context
* [MOD] Domain in js instead of query in search_read
* [FIX] Pylint details
7 years ago
Sylvain LE GAL
16fae70238
[8.0][fix] pos_pricelist ( #252 )
* In backoffice, set correct sale taxes on pos order lines
* PoS order created from PoS UI doesn't have the correct pricelist_id defined
* Possibility to see and change pricelist when creating / updating a customer in Front UI
7 years ago
Loïc Faure-Lacroix
e8b5508fa4
[Fix][8.0] Fix the way pricelists are selected when a template_id is set as rule of pricelist ( #100 )
Added a method to match rules.
It can be inherited which allow other modules to extend the way the
pricelists are chosen.
Also a rule in the while loop could be removed as it duplicated
one of the tests when choosing the available pricelists.
7 years ago
Sylvain LE GAL
38a37fd843
[FIX] remove unrelated code to pos_pricelist and fix #128
7 years ago
Ismael Calvo
3e87f0a274
[FIX] pos_pricelist, format_pr error when precision undefined
8 years ago
Stefan Rijnhart (Opener)
04499be292
[FIX] Support attribute prices on product variants ( #103 )
9 years ago
Ismael Calvo
f63918bb6b
[IMP] pos_pricelist, not load supplierinfo for not available products ( #98 )
9 years ago
Stefan Rijnhart
2acab74bcb
[FIX] Rounding problem when partner is selected afterwards
9 years ago
Stefan Rijnhart
a4b26f7c4e
[FIX] Round unit price
9 years ago
Stefan Rijnhart
a10bc113c1
[IMP] Preserve manually modified price in most cases
9 years ago
Javier Iniesta
77f74d8e43
[FIX] fix set_quantity js
9 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
10 years ago
PabloCM
0a1a57c33c
[FIX] Lookup of taxes not found in fiscal position mappings
[FIX] Style and garbage code
10 years ago
PabloCM
2fbf539564
[FIX] The backend now handles properly the fiscal position conversion of taxes applied on the frontend
10 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