Cédric Krier
e3ba424efe
Do not compare base to 0 if it is None
...
issue10657
review369471002
2021-08-19 22:32:48 +02:00
Sergi Almacellas Abellana
857dc2be6d
Clear payment_term_date when copying invoices
...
issue10635
review334641002
2021-08-09 13:18:17 +02:00
Cédric Krier
e6701a6a9a
Prevent overpay invoice without amount to pay
...
issue10573
review369291002
2021-07-21 23:57:42 +02:00
Cédric Krier
2c24cab714
Always use proteus config argument in testing tools
...
issue10548
review338421002
2021-07-12 22:56:26 +02:00
Juanjo Garcia
7f026731ba
Use the proper variable name in the same account error message
...
issue10500
review371071002
2021-07-07 14:33:21 +02:00
Cédric Krier
b9b7bc0e2e
Backed out changeset e37577def17b
2021-07-07 14:33:11 +02:00
Juanjo Garcia
ce54fbc836
Use proper variable name when formatting same account error message
...
issue10500
review348701002
2021-07-07 14:33:00 +02:00
Cédric Krier
4944d70ef9
Add default value for CI env
...
issue10455
review332961002
2021-07-04 17:54:46 +02:00
Cédric Krier
c881f82f5d
Use 1 as value when taxes_deductible_rate is None
...
issue10453
review353561002
2021-05-26 23:52:30 +02:00
Sergi Almacellas Abellana
5b6a13bb4c
Create base tax line for manual taxes
...
issue10429
review340811002
2021-05-20 10:20:41 +02:00
Cédric Krier
f3659b2874
Increase version number
2021-05-03 15:47:26 +02:00
Cédric Krier
cd6e51ed72
Add tag 6.0.0 [skip ci]
2021-05-03 15:47:15 +02:00
Cédric Krier
002c0ed7d1
Prepare release 6.0.0 [skip ci]
2021-05-03 15:47:14 +02:00
Cédric Krier
ccde9731d6
Add missing fields to copy when credit invoice and line
...
issue10260
review334301002
2021-05-02 11:00:49 +02:00
Cédric Krier
971e389fc5
Update translations [skip ci]
2021-05-02 10:30:10 +02:00
Cédric Krier
ee7b9fae7b
Add Romanian [skip ci]
...
issue9110
review301541002
2021-05-02 09:56:32 +02:00
Cédric Krier
4855e0836b
Skip maturity date formatting if empty
...
issue10222
review336111002
2021-04-30 13:31:23 +02:00
Sergi Almacellas Abellana
a78403cf81
Do not test past payment date for supplier invoices
...
issue10370
review361821003
2021-04-29 13:21:38 +02:00
Cédric Krier
996ceffb64
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:27 +02:00
Cédric Krier
f84a891925
Remove contextual domain on company
...
issue10302
review338141004
2021-04-20 09:18:57 +02:00
Sergi Almacellas Abellana
8d61e68c0b
Do read amount value inside subtotal computation
...
The field can not be used because the server will read the values of all lines
in the invoice and cause a recursion error
issue10284
review363151002
2021-04-15 10:10:55 +02:00
Cédric Krier
4525f90d7f
Remove unused Null import
2021-04-12 22:01:27 +02:00
Cédric Krier
451b9f18da
Call column_is_type only if column exists
...
issue9645
2021-04-12 22:01:08 +02:00
Nicolas Évrard
06104ac96a
Allow column sql types to be tested from the table handler
...
issue9645
review312421002
2021-04-12 20:56:08 +02:00
Sergi Almacellas Abellana
b4fc821f8b
Allow using debt accounts on supplier invoices
...
issue10164
review357341003
2021-04-11 20:52:21 +02:00
Cédric Krier
913130c04f
Add deductible rate of taxes to supplier invoice
...
issue6911
review341801002
2021-04-11 18:11:05 +02:00
Cédric Krier
7ed72c1d11
Add missing company in depends of _get_tax_context
2021-04-11 18:08:27 +02:00
Cédric Krier
abd0be2ded
Check rule only if _check_access is set and enforce companies rule
...
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Nicolas Évrard
f814d45066
Call super() method of view_attributes
...
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Cédric Krier
d35bf53b50
Add company pattern to multivalue calls
...
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Cédric Krier
abc50a0c83
Use the queue to process reconciled invoices
...
We add a process button for account admin to allow the user to force the
process in case the queued task has failed.
issue10215
review361451002
2021-03-28 16:22:01 +02:00
Cédric Krier
183d788303
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
6d5d2470da
Store directly sequence type to sequence
...
issue10122
review351381002
2021-03-11 23:00:09 +01:00
Cédric Krier
e9d9721435
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier
3d58e7d45e
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier
8b6d024754
Use correct placeholder in close period message
2021-03-04 09:58:48 +01:00
Cédric Krier
4d51d91d06
Pass period records to super call of close
...
issue10054
2021-02-27 18:38:55 +01:00
Cédric Krier
a823d19603
Follow common rule to organize menu entries
...
issue10118
review347611002
2021-02-27 18:16:28 +01:00
Cédric Krier
e1f2871c3b
Add method to post invoices by batch
...
issue10054
review333811002
2021-02-27 15:23:46 +01:00
David Harper
7c1efcb8a4
Make invoice required for invoice tax
...
issue10111
review339931002
2021-02-26 15:41:50 +00:00
Cédric Krier
9ad98c25d4
Add header grouping on report
...
issue6760
review351221002
2021-02-21 19:19:26 +01:00
David Harper
ef06bb6aa5
Improve documentation
...
issue9708
review308351002
2021-02-17 13:41:42 +00:00
Cédric Krier
72ad0f5124
Show last invoice in numbering error
...
issue10075
review333881002
2021-02-14 15:51:51 +01:00
Cédric Krier
a6c6c3b5ab
Order with nulls first
...
issue10078
review331831002
2021-02-14 15:48:44 +01:00
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