Commit Graph

33 Commits

Author SHA1 Message Date
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 5f7f3c3b04 Add monetary field
issue10598
2021-08-23 17:26:12 +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
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 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 be34acc103 Refactor payment wizard so statement lines can be updated through inheritance. 2019-12-16 00:09:10 +01: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
Carlos G?lvez 685bd26d25 The residual amount is always calculated, except if the invoice was canceled.
#036638
2019-02-01 08:19:20 +01:00
Marina Nicolau d00cae6ef6 Modifie get_residual_amount method, to exclude when invoce_state is 'none'
#036499
2019-01-16 13:13:04 +01:00
?ngel ?lvarez 300639d912 Add ir.message and use UserWarning/UserError 2019-01-09 11:08:21 +01:00
Albert Cervera i Areny b48f3318d9 Migrate to python 3 2018-09-03 23:37:02 +02:00
Raimon Esteve a41d4ff251 Refactoring to post/write/do with multiple sales and omit cancel invocies in workflow to end
task-033187
2018-01-17 14:26:42 +01:00
?ngel ?lvarez 415ec80f6b payment register number sale, not reference 2017-09-04 12:26:14 +02:00
Bernat Brunet Torruella b4bb7b14b2 Add more information in the sale error message 2017-05-16 17:28:27 +02:00
Raimon Esteve 3c6dce1223 FIX set number when sale has not number
FIX second part in changeset-cb8a205
2017-04-18 18:23:39 +02:00
Raimon Esteve 0903c55ce6 Add searcher residual amount 2016-10-05 07:53:56 +02:00
Raimon Esteve ce4ed0d806 Replace set_reference to set_number
issue1479
2016-10-03 13:04:38 +02:00
jmartin 2bc0ff403f Add python 3 support 2016-03-29 11:43:21 +02:00
resteve a0bc915c44 Wizard Sale Reconcile: lines to pay from invoice 2015-10-25 20:49:04 +01:00
Oscar Alvarez c6f3d83f67 Field sale_device must be readonly when sale is not draft 2015-04-29 19:22:59 -05:00
jmartin 7a9fb591a8 Now the creation of stock moves without shipment is made in sale_pos module 2015-04-28 12:46:06 +02:00
jmartin 25fe2c2e4b Moved part of transition_pay_ method of the wizard to method workflow_to_end of sale.sale model 2015-03-24 12:25:53 +01:00
jmartin 87b77a2e5d Fix AttributeError: 'NoneType' object has no attribute 'id' when party is created before company and has not any default account receivable defined 2015-03-02 16:03:29 +01:00
resteve 4f2bd8c2a4 Return user sale device 2015-01-07 09:21:40 +01:00
resteve dcf0b15bab Default sale_device return id 2014-12-29 14:32:26 +01:00
?ngel ?lvarez ae383a3399 add sale_device field on sale, and used on payment wizard 2014-11-21 12:28:58 +01:00
jmartin bafc7adacb Allow to pay a sale with amount 0 2014-07-09 12:10:25 +02:00
jmartin a5fe0dd36f Make pay button readonly if no lines are added to sale 2014-07-09 10:52:33 +02:00
resteve ab0b73ff95 Initial commit 2014-06-27 19:03:08 +02:00