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
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
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
6af900b817
Rename invoice state from cancel to cancelled
...
issue8927
review303661003
2020-06-06 10:23:14 +01:00
Sergi Almacellas Abellana
8e0534acc0
Add company as product context field
...
issue9111
review275031002
2020-04-25 09:18:06 +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
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
Cédric Krier
6d6528f0ad
Extract sequence field computation from get_next_number
...
This eases the customization of the sequence used.
issue9038
review270931002
2020-03-06 23:50:37 +01:00
Cédric Krier
4a128dab38
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:51 +01:00
Cédric Krier
7775bf346a
Use depends on TaxableMixin
...
issue8986
review282751002
2020-02-12 00:19:27 +01:00
Cédric Krier
ecfa49c8c9
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
Cédric Krier
94503a41df
Add invoice date on credit wizard
...
issue8925
review264931002
2020-01-24 00:23:28 +01:00
Cédric Krier
d0ab1eca5e
Add domain against closed account
...
issue8917
review262641002
2019-12-28 17:48:50 +01:00
Sergi Almacellas Abellana
eb70b0a665
Consider also invoices with zero lines as credit notes
...
issue8943
review284621002
2019-12-24 17:42:56 +01:00
Sergi Almacellas Abellana
9c01689f66
Clear invoice report language only for rendering
...
Otherwise the report name is rendered always in english
issue8881
review260621002
2019-12-18 09:21:49 +01:00
Albert Cunillera Benet
c6197b2497
Take lines without maturity date as payable
...
issue8788
review268521003
2019-12-12 12:49:37 +01:00
Cédric Krier
2157109ad7
Do not copy sequence from invoice
...
The sequence must only be filled when the invoice is numbered.
issue8896
review288641002
2019-12-11 18:40:23 +01:00
Nicolas Évrard
a62a3c5eb3
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier
185cec90dc
Display quantity in record name
...
issue8797
review274151002
2019-11-26 22:20:24 +01:00
Korbinian Preisler
91febfd671
Do not raise PayInvoiceError on credit note partial payment
...
issue8401
review249441002
2019-11-01 23:17:42 +01:00
Cédric Krier
a6bafb42c5
Group taxes also per base sign
...
This allow to report in tax code the invoice and credit note separately.
issue8759
review282291002
2019-11-01 22:50:21 +01:00
Cédric Krier
175ec95a49
Avoid override invoices variable when search other invoices
...
The invoices list should not be modified because it is saved at the end of the method.
issue8724
review286051003
2019-10-24 19:06:04 +02:00
Cédric Krier
1348fb8ba3
Prevent using same sequence on earlier customer invoice
...
issue5205
review267921002
2019-09-28 23:42:07 +02:00
Cédric Krier
e5b5df2776
Add visual context on tree view
...
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier
6d9276562a
Prevent assign unknown attributes on Model
...
by adding __slots__ on PoolMeta
issue8567
review254091002
2019-09-07 23:45:08 +02:00
Sergi Almacellas Abellana
f995ad6d22
Show cancel button on posted invoices when its company allows
...
issue8543
review255741002
2019-08-03 11:15:42 +02:00
Sergi Almacellas Abellana
76e6930e3a
Recompute party account when changing invoice_date or accounting_date
...
The party account may depend be have a replaced_by so we must recompute
it to get the correct based on the invoice date
issue8522
review275761005
2019-07-31 11:59:11 +02:00
Sergi Almacellas Abellana
df75a41eb0
Use current account when paying invoice
...
issue8540
review277631003
2019-07-31 09:18:28 +02:00
Sergi Almacellas Abellana
c198d26825
Set correct date on invoice and lines account context
...
It is required to correctly compute the active accounts depending on the date
issue8523
review287821002
2019-07-26 09:44:39 +02:00
Cédric Krier
020d3f191c
Add option to cancel customer invoice
...
issue8445
review273511002
2019-07-22 23:52:26 +02:00
Cédric Krier
24284cce38
Require tax on tax line
...
Without a proper tax, the tax line is never shown in any tax code reports.
issue8364
review261511002
2019-06-16 19:14:46 +02:00
Cédric Krier
76a6121fec
Use correct API to remove payment_lines
...
The Many2Many value must be a list of operations.
issue8287
review277321002
2019-05-02 12:50:55 +02:00
Cédric Krier
db7148b247
Use id as fallback prefix for record name of line
...
Non-line type does not have an account, so we need another fallback for those
cases.
issue8302
review285151002
2019-04-24 23:48:35 +02:00
Cédric Krier
3668616183
Process reconciled invoice when posted
...
A supplier invoice can be paid before being posted. So the workflow should
continue if it is reconciled.
issue7999
review279231002
2019-04-15 22:12:03 +02:00
Cédric Krier
e95cf44c2c
Add group lines wizard
...
issue8213
review275091002
2019-04-12 19:43:53 +02:00
Cédric Krier
9702768861
Remove unused help key in cancel button states
...
issue8262
review279221003
2019-04-12 13:07:26 +02:00
Cédric Krier
6ab587cf70
Raise NotImplementedError when setting Function field without setter
...
issue7985
review265101002
2019-03-27 00:28:57 +01:00
Cédric Krier
19701b4997
Merge account kind and account type
...
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier
25f0f7ed1a
Show reconciliations lines as payment lines
...
Once the invoice is paid, we can show the reconciliation lines instead of the
payment lines.
issue8157
review70581002
2019-03-08 23:59:16 +01:00
Cédric Krier
9f85b3efc0
Add rec_name to invoice line
...
issue8137
review56631002
2019-03-04 18:53:11 +01:00
Cédric Krier
fbc8c9b5e5
Add origin on move line and product and category on analytic rule
...
issue8074
issue8075
review62421002
2019-03-03 23:06:25 +01:00