Commit Graph

35 Commits

Author SHA1 Message Date
Raimon Esteve 7afc01e334 on_change_with_available_carriers return an object and the condition is integers 2023-07-03 11:28:04 +02:00
Raimon Esteve d8e2103d88 Get eSale carriers from shop in new method
#156925
2023-06-06 11:55:07 +02:00
Raimon Esteve efa4876b99 Set function fiels and record_model to eval carrier get_sale_price
#158637
2023-05-02 08:45:03 +02:00
Raimon Esteve cb17c0bc48 convert obj to dict 2023-02-20 18:00:51 +01:00
Raimon Esteve e67812970c Allow third modules extend esale carriers pattern
#073156
2023-02-20 13:06:52 +01:00
Raimon Esteve d90949686a party id when has party 2023-01-31 14:20:56 +01:00
Raimon Esteve 69ee5dfd64 _save_values in case has m2o, try to save; replace to dict 2023-01-31 10:53:12 +01:00
Raimon Esteve 034a3d8009 Rename zip to postal_code 2023-01-30 17:01:57 +01:00
Raimon Esteve 96ba09b82f Check eSale carriers in available_carriers (previous domain) 2023-01-30 17:00:18 +01:00
Raimon Esteve 36390125df Carrier price is 0 when is none
round_price require decimal number
2022-10-20 10:41:12 +02:00
Raimon Esteve b9a1a843b0 Add session param in galatea domain
#056043
2022-06-17 09:48:53 +02:00
Bernat Brunet cf893fae57 Fix bug when calculate the taxes of a sale line, on on_change_product
function. If taxes are calcualted by 'super', don't do any thing. If
not, try to calcaulted based on the sale line party (not sale party as
do the super)

Task: #057569
2022-05-26 15:05:16 +02:00
Albert Cervera i Areny 995e1cef55 Fix add call. 2022-05-03 18:38:36 +02:00
Albert Cervera i Areny d078809f57 Use set for depends. 2022-05-03 15:12:52 +02:00
Raimon Esteve 0273c2404c Galatea sale domain
#046690
2021-11-02 18:07:47 +01:00
Raimon Esteve ccdace6ac6 Pass record a dict instead of an object to get sale price by carrier 2021-07-02 15:25:14 +02:00
Raimon Esteve 4d36200eb8 Rename zip into postal code
issue9853
2021-07-02 11:01:01 +02:00
Raimon Esteve c2810a1c5c Upgrade to 5.9 2021-04-27 17:17:13 +02:00
Raimon Esteve a853331be3 Rename zip into postal code
issue9853
2021-04-13 12:45:03 +02:00
Raimon Esteve 0824543de2 Set shipment_addrees in sale to allow eval in carrier formula 2020-12-12 09:15:41 +01:00
Raimon Esteve 1c96ae8774 Rename address_id param in get esale carriers 2020-10-27 14:30:45 +01:00
Raimon Esteve c8cb6097d1 FIX remove carriers not found in carrier selection 2020-10-26 18:51:12 +01:00
Raimon Esteve 1518911275 Get eSale carriers return dict options
because assign new attributes is not allowed
2020-04-30 13:37:38 +02:00
Raimon Esteve 91c83c2539 Allow add extra lines when create a new sale
#036760
2019-02-06 17:45:32 +01:00
Marina Nicolau 7fb17a62f0 Fixed copy method
task #036486
2019-01-11 12:51:41 +01:00
Raimon Esteve d2d2acf42b Get esale carriers with price and price with tax and ordered by price 2018-12-12 11:45:51 +01:00
Bernat Brunet Torruella a83f1fecfd when duplicate a sale, remove the shipment lines, to avoid duplication when process the new sale 2018-11-05 18:06:36 +01:00
Bernat Brunet Torruella 119dfcb376 Remove not needed functions and import 2018-11-05 11:35:07 +01:00
Bernat Brunet Torruella bcf5c2eb73 Add control of party tax rule in sale line creation 2018-11-04 17:21:45 +01:00
Raimon Esteve abae0fc9bf Migrate to py3 2018-09-19 07:51:34 +02:00
jmartin 7f5c26811a Add python 3 support 2016-03-29 12:00:24 +02:00
resteve d944c62f20 Set eSale sale 2016-03-16 15:23:33 +01:00
resteve a837f5f552 Get eSale Carriers 2016-03-16 08:05:59 +01:00
resteve d20b917373 Remove sale cart dependency 2016-02-23 17:59:35 +01:00
resteve 47565c3cd9 Add Galatea User in sale 2015-11-19 19:01:05 +01:00