Commit Graph

125 Commits

Author SHA1 Message Date
Raimon Esteve aa65eadf41 Remplace set sale_device context from _preferences_fields to _get_preferences
Check rule only if _check_access is set and enforce companies rule
issue4080
#163126
2023-10-31 09:01:48 +01:00
Raimon Esteve 0d5c4a7818 In case total_amount is < 0, the condition is absolute value (abs)
#162987
2023-10-26 14:27:55 +02:00
Raimon Esteve 8ca5f2df7d Allow pay button before save sale and only worklow_to_end draft sales
#162987
2023-10-24 16:08:33 +02:00
Raimon Esteve 5f3ae819ce Add allow to pay sale and control not pay the sale twice times
#162876
2023-10-23 12:32:19 +02:00
Raimon Esteve 286896268e Allow pay and workflow_to_end when sale is in draft, quote or confirmed
#162967
2023-10-23 11:23:47 +02:00
Raimon Esteve 883fa99861 Locales 2023-08-24 16:52:10 +02:00
Raimon Esteve fd2de09b1a Add line in the product price list 2023-08-21 15:12:50 +02:00
Albert Cervera i Areny a3e6a69115 Fix keyword passed to gettext message. 2023-08-11 17:29:27 +02:00
nan-tic-dev b448fe8a63 Modify pay button to be readonly if sale is totally paid | #161602 (#3)
Authored-by: Jared Esparza <jared.esparza@nan-tic.com>
2023-08-08 16:32:07 +02:00
Juanjo Garcia Pagan cfa00873fa In "OpenStatement" wizard, set the default value for "total_amount" field and "number_of_lines" field. (#2)
Task #156769
2023-06-09 13:04:51 +02:00
Raimon Esteve 750f0195e3 Increase version number 2023-05-10 17:30:15 +02:00
Raimon Esteve c79f7dea23 When close stament, set start_balance to 0 in case is none
#157628
2023-03-20 13:35:24 +01:00
Àngel Àlvarez db654c6429 fix sale_payment wizard 2023-02-14 16:02:40 +01:00
Raimon Esteve 012fe3ae55 Locales 2022-12-27 16:34:04 +01:00
Raimon Esteve a4d409392b Use declarative index definition for ModelSQL
issue5757
2022-11-09 10:25:52 +01:00
Raimon Esteve 7c300d0457 Increase version number 2022-08-17 14:22:17 +02:00
Bernat Brunet 6184f0d461 Fix residual_amount searcher. Allow return sales with negative values.
Task: #059561
2022-06-16 14:19:21 +02:00
Jared Esparza f0bf49f828 Modify test to check line.related_to instead of line.invoice 2022-05-18 12:17:48 +02:00
Jared Esparza b7908b3d53 Add company global rule 2022-05-06 13:37:14 +02:00
Jared Esparza efa99272c7 Replace test setuptools command by unittest discover 2022-04-26 13:22:01 +02:00
Albert Cervera i Areny efaff83579 Check account objects instead of id, so if account is None it does not crash. #047955 2021-11-18 19:17:21 +01:00
Raimon Esteve 99838f1ad0 Locales 2021-08-23 17:47:14 +02:00
Raimon Esteve 5f7f3c3b04 Add monetary field
issue10598
2021-08-23 17:26:12 +02:00
Raimon Esteve cd95e33532 Remove replace_attributes buttons col/colspan
Since sale d8c7ed5 add unify layout of form view
2021-07-05 08:06:19 +02:00
Raimon Esteve c56211d806 Increase version number 2021-06-01 10:25:41 +02:00
Raimon Esteve 22fe57ef80 Increase version number 2021-04-26 15:43:01 +02:00
Albert Cervera i Areny dcaa721729 Remove tree structure from company 2021-03-28 16:21:34 +02:00
Albert Cervera i Areny b3a17dd015 Remove tree structure from company 2021-03-28 16:05:24 +02:00
Albert Cervera i Areny 8a72254f8d Fill in payment's invoice field in workflow_to_end. This fixes the test. 2020-11-28 00:21:56 +01:00
Raimon Esteve 2efd7155c3 Rename state from cancel to cancelled
#040791
issue8927
2020-08-31 12:35:07 +02:00
Raimon Esteve cdcacc059c Increase version number 2020-07-20 21:27:53 +02:00
Àngel Àlvarez 620e202c65 fix setup.py, scenario still fails 2020-05-03 12:50:58 +02:00
Àngel Àlvarez 516fc33ab3 Modify tox and add Jenkisfile 2020-04-11 18:33:53 +02:00
carlosgalvez-nan e5102dd948 Refactor of the workoflow_to_end method to allow to modify in another modules when
the invoices has to be posted.
2020-02-28 10:10:47 +01:00
carlosgalvez-nan bcf5d9cabe Clear the field sale_device when the company is changed 2020-02-06 13:32:38 +01:00
Raimon Esteve 962c101208 FIX gettext messages when open/close statements
#040032
2020-02-05 13:09:46 +01:00
carlosgalvez-nan 09516007ad Refactor of the workoflow_to_end method to allow to modify in another modules what
happens to the invoices created.
2020-01-29 11:28:41 +01:00
Albert Cervera i Areny 5174a64ad6 Use account_receivable_used property to obtain the party's account. 2019-12-27 19:40:46 +01:00
Albert Cervera i Areny c2d1841686 Use objects instead of IDs when creating Statement Line. 2019-12-27 19:30:23 +01:00
Albert Cervera i Areny 06c18ab067 Merge 2019-12-16 00:09:55 +01:00
Albert Cervera i Areny be34acc103 Refactor payment wizard so statement lines can be updated through inheritance. 2019-12-16 00:09:10 +01:00
Albert Cervera i Areny dbffddd6ff pyflakes fixes 2019-12-14 23:08:54 +01:00
Juanjo Garcia ede07e7b4b Use direct access to backend classes. 2019-12-11 10:22:31 +01:00
?ngel ?lvarez bddae61ca6 increase version 2019-11-14 11:02:03 +01:00
?ngel ?lvarez abfc07d140 increase version 2019-11-14 10:57:03 +01:00
Juanjo Garcia f00c085d5d Fix tests.
Fix xpath tag in the view form.
2019-10-30 15:59:52 +01:00
Juanjo Garcia f8151726cd Use material design icons. 2019-09-05 12:46:47 +02:00
Juanjo Garcia d0d1c548fb Use grouped attribute on message.xml 2019-09-04 12:32:44 +02:00
Carlos G?lvez 4793f48b33 Get the residual_amount also for sales in state 'draft' and 'quotation'.
#038295
2019-07-16 12:31:57 +02:00
Carlos G?lvez 5aa91616f6 Improve residual_amount searcher.
#037537
2019-07-12 10:04:35 +02:00