Nicolas Évrard
a8af83fc4e
Send only the required fields when fetching a readonly view definition
...
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier
eb3689451e
Display next invoice date on subscription form
...
issue11267
review376861002
2022-03-20 01:34:39 +01:00
Cédric Krier
b3f7c520e8
Do not sort state selection
...
issue11169
review374761005
2022-02-15 00:08:47 +01:00
Cédric Krier
1fdba37688
Follow isort formatting
...
issue10928
2021-12-11 17:58:44 +01:00
Sergi Almacellas Abellana
05d57678e4
Always fill invoice date
...
issue10675
review363731003
2021-10-05 13:33:42 +02:00
Maxime Richez
4798a45b10
Add methods to format number and symbol on Lang
...
and add format number with symbol on Report
issue10730
review371831002
2021-10-04 18:52:01 +02:00
Cédric Krier
5dfee5262e
Support empty list price on product
...
issue10244
review350341002
2021-09-13 23:29:57 +02:00
Cédric Krier
1394309917
Provide digits from unit of measure
...
issue10677
review365801002
2021-08-30 00:27:13 +02:00
Cédric Krier
0159e615fb
Add monetary field
...
issue10598
review338511002
2021-08-21 09:09:56 +02:00
Sergi Almacellas Abellana
0a7d9895c8
Get currency id only if currency is filled
...
issue10597
review346671002
2021-08-09 12:46:40 +02:00
Cédric Krier
b171b52211
Use on_change_invoice and on_change_product to create invoice line
...
issue10571
review358391002
2021-08-06 09:43:58 +02:00
Cédric Krier
2a702680e3
Prevent changing the company when party is set
...
As many fields are set using party which depends on the company context, the
company can not be changed once they are set.
issue10289
review332591002
2021-04-22 00:03:28 +02:00
Cédric Krier
b857ac00ce
Remove contextual domain on company
...
issue10302
review338141004
2021-04-20 09:18:58 +02:00
Cédric Krier
3b07aa17bb
Make consumption quantity required
...
It is needed to compute the quantity to invoice.
issue10138
review341981002
2021-04-11 18:33:47 +02:00
Nicolas Évrard
311ef0a5ed
Call super() method of view_attributes
...
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Adrià Tarroja Caubet
3f937b4e31
Clear employee fields on copy
...
issue10209
review357511002
2021-04-05 16:24:13 +02:00
Cédric Krier
19dc7eb5c9
Add company pattern to multivalue calls
...
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Cédric Krier
aed2523c0a
Store directly sequence type to sequence
...
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier
0618ad43ad
Do not validate consumption recurrence if empty
...
issue10001
2021-03-11 12:53:00 +01:00
Cédric Krier
897c048205
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier
e7307c41d1
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:20 +01:00
Cédric Krier
409678b0dd
Ensure recurrence generates at least one occurrence
...
Depending on the start date, a recurrence does not always generate occurrence.
issue10001
review349361002
2021-02-12 20:24:06 +01:00
Cédric Krier
3685bd11cb
Enforce currency, invoice_type and party values between invoice and lines
...
The currency of an invoice line must always be the same as the invoice.
For the invoice_type and party they must be the same only if set.
issue9854
review324581002
2020-12-16 21:24:07 +01:00
José Salvador
3e46e0688c
Do not copy consumed_until field
...
issue9883
review301021002
2020-12-06 13:39:06 +01:00
Cédric Krier
1515e389fd
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:06 +02:00
Cédric Krier
6d66c318f2
Ensure values can be sorted
...
The values may contain None which is not orderable so we insert a third
argument before the value to prevent to compare None value against others.
issue9381
review303881005
2020-07-21 00:36:40 +02:00
David Harper
edcc7cd14a
Rename subscription state from canceled to cancelled
...
issue8927
review301701002
2020-06-06 09:58:15 +01:00
Cédric Krier
7c78d9020a
Add related_party in search context of secondary party
...
issue9333
review323301002
2020-05-19 19:01:46 +02:00
Sergi Almacellas Abellana
3f44f7f0a7
Add company as product context field
...
issue9111
review275031002
2020-04-25 09:19:02 +02:00
Cédric Krier
eb5927c85c
Add round_price
...
We add a common method to round prices that are stored using the price digits.
It is useless to use the digits from the field because it can not be changed in
any other way than by configuration.
issue9146
review299521002
2020-04-23 21:44:00 +02:00
Cédric Krier
0a05656bde
Add employee on document for some states
...
issue8969
review276621002
2020-04-10 18:53:44 +02:00
Sergi Almacellas Abellana
c779cee460
Use greatest line end date for closed subscription end_date
...
issue8360
review269531002
2020-03-30 09:50:58 +02:00
Cédric Krier
53c570ecff
Add contact and invoice party
...
issue8992
review274701003
2020-03-28 14:25:57 +01:00
Sergio Morillo
a696dfe3b2
Allow invoices to be created in advance
...
issue9058
review258741002
2020-03-26 09:25:37 +01:00
Sergi Almacellas Abellana
1fd15be461
Take in account subscriptions end date when creating consumptions
...
issue9171
review307151002
2020-03-23 09:16:47 +01:00
Cédric Krier
91dadaad8a
Remove global variables used for field definitions
...
They give the false idea that they can be extended or reused which is not the
case.
issue8967
review252851012
2020-01-25 20:18:49 +01:00
Nicolas Évrard
07be2233b5
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:47 +01:00
Cédric Krier
2359d4b844
Display quantity in record name
...
issue8797
review274151002
2019-11-26 22:20:24 +01:00
Cédric Krier
dd6b98bfcd
Allow to finish line before next consumption
...
issue8085
review72401002
2019-10-14 00:17:45 +02:00
Cédric Krier
2b1bfa57b4
Add visual context on tree view
...
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier
6d6efde22b
Use account_receivable_used as invoice account
...
Since issue8522, on_change_type does not set the account anymore.
So we must ensure to set the default value if the party has no account
defined.
2019-08-09 18:12:11 +02:00
Cédric Krier
2ae7b24a87
Simplify cron
...
issue8201
issue6117
issue2286
2019-04-12 15:59:25 +02:00
Cédric Krier
b3eafebeb4
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier
7308e282ee
Reset next_consumption_date when copying line
...
issue7813
review68341002
2018-10-30 18:22:39 +01:00
Cédric Krier
2f1555b82f
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
1d11525211
Use material design icons
...
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier
7e30b8c0b0
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
6ededd3872
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier
f58f85a993
Make start date of line required
...
This simplifies the usage of start/end date of the line.
issue7487
review51371002
2018-06-24 16:41:43 +02:00
Cédric Krier
01775b5fa1
Make description on subscription line optional
...
issue7440
review48451002
2018-06-18 21:51:37 +02:00