Commit Graph
1375 Commits
Author SHA1 Message Date
Cédric Krier 8fb9b4d311 Do not override line variable to render description in reports
issue10044
review339791002
2021-02-12 23:56:29 +01:00
Cédric Krier fb46338b22 Update unit price after invoice posted and move done
issue9962
review292991002
2021-02-03 21:21:03 +01:00
Sergi Almacellas Abellana de0b29b7bf Add payment term date in invoice
issue9956
review292961002
2021-01-28 11:01:11 +01:00
Cédric Krier cb0e0d04e5 Drop foreign key for sequence
When updating twice the same invoice, PostgreSQL takes a shared lock on the
foreign key row of ir.sequence.strict. This prevent the sequence to be used for
numbering during all the transaction.
As some processes may write twice on an invoice due to modularity and as they
can last too long, it is better to avoid such lock by removing the foreign key
constraint. Storing the sequence id on the invoice is only to ensure sequential
numbering not the integrity of the sequence record.

issue9822
review331161002
2021-01-13 00:40:53 +01:00
Nicolas Évrard d1d1e2f4c5 Update status of invoices linked to delegated reconciliations on deletion
issue9947
review319031003
2021-01-05 12:16:02 +01:00
Cédric Krier c4c8ecad6b Use cache to fill Reference selections
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Maxime Richez 62c3f2c000 Add summary to line list
A function field summary is added which takes the first line of description
field. This is useful to identify line without product (only with description)
in the list.

issue9695
review292431002
2020-12-25 17:14:57 +01:00
Cédric Krier 1062a7bebb Add default customer payment term configuration
issue9855
review318881002
2020-12-23 21:46:51 +01:00
Cédric Krier f4749bdd9e Add support for Python 3.9
issue9685
2020-12-19 17:08:44 +01:00
Cédric Krier 1f91408356 Ensure party_lang on invoice line has always a correct value
It is better for modularity to put the invoice parent test in the getter of
party_lang than having the test in the PYSON expression.

issue9897
review324591011
2020-12-18 00:28:25 +01:00
Cédric Krier cb0e64a950 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
David Harper 82b894c159 Test long_description using twine check
issue9781
review337181002
2020-12-15 11:42:55 +00:00
Cédric Krier 22168d434f Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:51 +01:00
Cédric Krier e56fe8af97 Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:05:55 +01:00
Cédric Krier ddf30e21ad Add generic test for check erase party
issue9895
review324571002
2020-12-05 11:53:48 +01:00
Cédric Krier aa52f4c224 Increase version number 2020-11-02 15:44:51 +01:00
Cédric Krier ba808b86d7 Add tag 5.8.0 [skip ci] 2020-11-02 15:44:40 +01:00
Cédric Krier a015f0014e Prepare release 5.8.0 [skip ci] 2020-11-02 15:44:39 +01:00
Cédric Krier e58217cb3f Update translations [skip ci] 2020-10-31 12:14:29 +01:00
Cédric Krier ac60cb0e5a Remove support for Python 3.5
issue9733
2020-10-24 13:45:09 +02:00
Cédric Krier f6123c1785 Ignore flake8 E741 2020-10-16 19:19:56 +02:00
Cédric Krier 0b91262832 Allow to extend invoice's journal type
issue5175
review314451002
2020-10-12 13:02:30 +02:00
Abraham Cabezas c6481ee9d5 Add domain to invoice's journal
issue5175
review310491002
2020-10-11 13:02:20 +02:00
Sergey Datsevich 293215a3ae Update taxes only if base changed when currency is empty
The test is_zero is inverted when there is no currency defined.

issue9555
review318111003
2020-10-09 22:01:50 +02:00
Cédric Krier 8ce8293e05 Add symbol widget
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Cédric Krier b712a343ab Allow overriding digits in Lang.currency and Report.format_currency
issue9588
review292221002
2020-09-24 22:49:09 +02:00
Cédric Krier a62f9d6672 Remove custom naming from invoice report
issue9509
2020-09-24 10:29:09 +02:00
Cédric Krier 3db3dff24d Allow setting the tax date on taxable lines
We add a taxing date to the invoice line which allow overriding the value of
the invoice.
When crediting an invoice, the original tax date of each line is stored on the
credit line so the tax are computed the same way.

issue9520
review323791002
2020-09-05 23:37:58 +02:00
Cédric Krier 01b0a5895e Add start/end date to tax rule line
issue9505
review317981002
2020-09-05 22:12:11 +02:00
Abraham Cabezas a852e2d51d Convert Invoice.update_taxes into dualmethod
issue5334
review294221003
2020-07-29 22:51:13 +02:00
Cédric Krier e88fa09cde Clear invoice_report_cache_id on copy
It must be cleared like invoice_report_cache in case file_id is configured.

issue9476
review321801002
2020-07-13 20:57:00 +02:00
David Harper 401e8b4706 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier 213a2201ad Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Cédric Krier 2782ab96fa Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02:00
Cédric Krier 987cd0dd9e Add with agent option to credit invoice
We do not always want to keep the agent on the credit note.

issue9407
review301791002
2020-06-24 23:00:48 +02:00
David Harper 3aaa057c90 Change cancel and canceled states to cancelled
issue8927
review303751003
2020-06-07 09:35:40 +01:00
David Harper 6af900b817 Rename invoice state from cancel to cancelled
issue8927
review303661003
2020-06-06 10:23:14 +01:00
David Harper 1ac66c4444 Add icon license file
issue9152
review317481002
2020-06-01 10:08:02 +01:00
Cédric Krier 8234fc3071 Increase version number 2020-05-04 12:08:59 +02:00
Cédric Krier 24a1890f29 Add tag 5.6.0 [skip ci] 2020-05-04 12:08:47 +02:00
Cédric Krier 1867aec693 Prepare release 5.6.0 [skip ci] 2020-05-04 12:08:47 +02:00
Sebastien Marie eef9bcf4d5 Add missing icons in package_data
issue9290
review291591002
2020-05-02 12:26:47 +02:00
Cédric Krier 7c4a90b2d2 Update translations 2020-05-02 10:29:22 +02:00
Cédric Krier a9c2e7b08d Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:53:50 +02:00
Sergi Almacellas Abellana 8e0534acc0 Add company as product context field
issue9111
review275031002
2020-04-25 09:18:06 +02:00
Cédric Krier 9d9cd57685 Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier 6b68d42c89 Allow overpaying invoice
issue9070
review263001009
2020-04-10 18:40:26 +02:00
Sergi Almacellas Abellana 406de7bb0c Add default invoice state on tax lines
issue9176
review295221002
2020-03-30 09:58:20 +02:00
Sergi Almacellas Abellana 928238a4b2 Add support for python3.8
issue8866
review274421004
2020-03-19 18:59:17 +01:00
Cédric Krier e6b06cdbf7 Enforce the same category of UoM between invoice lines and origin
The origin lines compute the remaining quantity by converting the move quantity
to the origin unit. So they must have the same category of UoM.

issue9142
review285011002
2020-03-17 23:26:58 +01:00