Commit Graph
39 Commits
Author SHA1 Message Date
Cédric Krier 7ff6ace1d9 Do not fail when compute unit for line without unit filled
issue11522
review421241003
(grafted from 04e82b5357320c84387d86221881fdb0cf09920d)

--HG--
branch : 6.0
2022-06-02 11:21:31 +02:00
Cédric Krier eb55d8f927 Add on delete cascade to action of complaint
issue10274
review332531014
2021-04-16 18:56:45 +02:00
Nicolas Évrard 6319a55523 Call super() method of view_attributes
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Cédric Krier 81b2104462 Add company pattern to multivalue calls
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Sergi Almacellas Abellana 178ca00339 Clear result when copying actions
issue10198
review343921003
2021-03-17 15:10:18 +01:00
Cédric Krier 6cc00b9980 Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier 12a6415ad9 Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier dec1d2edab Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier 9fd46306bf Make an invoice correction for credit note action
This is needed to keep the quantity invoiced coherent with the stock move
quantity to update the unit price.

issue9975
review353061002
2021-01-18 23:17:20 +01:00
Cédric Krier 73843c64fe Use cache to fill Reference selections
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Cédric Krier 225609faa1 Compute amount of complaint action
issue9899
review335241002
2020-12-26 23:58:50 +01:00
Cédric Krier 1332d4b703 Allow only line of type line to be used
issue9890
review329771002
2020-12-04 18:44:14 +01:00
Cédric Krier d8e210c444 Add active field to complain type
issue9724
review318531002
2020-11-06 00:46:31 +01:00
Cédric Krier 74e321f32c Do not set unit price or quantity if empty
The unit price or the quantity of the credit note line should not be updated
if the value from the complain invoice line is None as it means we must use
the original one.

issue9497
review290651002
2020-08-02 23:56:32 +02:00
Abraham Cabezas 8c344ba8c2 Convert Invoice.update_taxes into dualmethod
issue5334
review294221003
2020-07-29 22:51:13 +02:00
Cédric Krier 4a4cc6cdde Allow partial return sale and credit invoice
issue9204
review309251002
2020-04-13 17:29:36 +02:00
Cédric Krier caae9325ce Allow entering origin before customer
issue9202
review301321002
2020-04-12 23:06:02 +02:00
Cédric Krier 2680d3e90d Set readonly action fields for non draft complaint
issue9193
review291351002
2020-04-11 00:27:45 +02:00
Cédric Krier b1aff06dad Display quantity for action on invoice line
The field is supported for those actions so it should be visible.

issue9192
review315141002
2020-04-10 18:30:41 +02:00
Cédric Krier 2c2ac954f5 Keep stock moves when credit or correct an invoice
issue9140
review273041002
2020-03-28 16:51:52 +01:00
Cédric Krier 10290ed010 Use Action class from the pool
issue9179
review305111002
2020-03-28 13:08:20 +01:00
Cédric Krier 63412cd095 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:53 +01:00
Cédric Krier 6dff9f994c Add missing parent depends
issue8712
review258221002
2019-10-16 21:22:02 +02:00
Sergi Almacellas Abellana 3e5eca04e2 Add missing end dot on translatable strings
issue8670
review252211037
2019-09-30 09:39:34 +02:00
Cédric Krier d53abff438 Add visual context on tree view
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier a05b64d2a3 Allow to reset to draft approved and rejected complaint
Use the queue to process the complaint.

issue8275
review283241004
2019-05-20 15:52:12 +02:00
Cédric Krier ee782bad13 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier 3f532a82ac Improve ModelStorage.copy
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default

issue5576
issue7648
review72291002
2018-09-01 01:02:04 +02:00
Cédric Krier debb8db466 Use material design icons
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier 11ad2fcde6 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier b2c333e961 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:52 +02:00
Sergi Almacellas Abellana 2404d82ad0 Add depends on Button
issue6919
review40811002
2018-02-19 11:40:40 +01:00
Cédric Krier 20afd4d748 Manage None as value of field in on_change method
issue6069
review27851002
2016-11-27 22:16:45 +01:00
Cédric Krier 5f10e5f7fe Use instance to create credit note
issue5751
review26541004
2016-08-19 21:38:01 +02:00
Sergi Almacellas Abellana cd5fa5db77 Replace readonly groups by ir.model.button
issue5068
review29351003
2016-07-18 14:01:02 +02:00
Cédric Krier 2c63077e58 Naming convention for code, number and reference
issue1479
review17171002
2016-03-28 10:33:52 +02:00
Cédric Krier 78b38c3fca Merge invoice and credit note
issue5225
review18921002
2016-03-20 22:59:28 +01:00
Cédric Krier 3e3b19a0fc Set complaint as origin to credit note lines
issue4756
review19261002
2015-06-01 22:55:46 +02:00
Cédric Krier e1a7cb5acb Initial commit
issue4661
review7991003
2015-05-11 16:55:33 +02:00