Cédric Krier
042586a515
Ignore initial on_change call from modify header wizard
...
issue11703
review433471003
(grafted from 634c519f79e959f16bae4d6c8925e579f504480f)
--HG--
branch : 6.0
2022-10-01 14:17:13 +02:00
Cédric Krier
6001d08c09
Hide amounts, links and button in modify header form
...
issue11708
review431591005
(grafted from 948fa4b0b33e711b74bbbeff35f1fa942495d1b9)
--HG--
branch : 6.0
2022-09-15 21:47:26 +02:00
Cédric Krier
9c29a9b6d3
Ensure unique taxes when applying tax rule
...
Since issue10841 the taxes must be unique so the tax rule application must
result on unique taxes.
issue11230
review415271003
--HG--
branch : 6.0
2022-07-17 00:02:22 +02:00
Cédric Krier
be8d5dd928
Round actual quantity after the sum
...
The sum of rounded quantity is not always a rounded value.
issue11503
review431141003
(grafted from d5fed246f6bf950bd04acf97628c7ec96c71adf8)
--HG--
branch : 6.0
2022-05-31 23:57:32 +02:00
Cédric Krier
1d1a48a627
Reuse planned delivery date when all moves are cancelled
...
issue11258
(grafted from 55722fc603cd002a5324127a523ed8d5c4689662)
--HG--
branch : 6.0
2022-02-18 09:40:01 +01:00
Cédric Krier
50ef749eeb
Use select to True on create_date
...
If the index is created only in __register__ then it is dropped before being
created again.
issue11197
review389881002
(grafted from b6547efd68b65333187775ad1a01416bee2e3043)
--HG--
branch : 6.0
2022-02-03 22:29:08 +01:00
Cédric Krier
9af2da6b28
Fill currency and company for non-line invoice line
...
Since issue9854 those fields are always required.
issue10530
review375831002
(grafted from 026acb2451532a5903adf63402b02e74753173e7)
--HG--
branch : 6.0
2021-10-26 19:46:56 +02:00
Maxime Richez
190bd6d9e8
Reset actual quantity when copying line
...
issue10874
review350841002
(grafted from 7f21b6d067a413830bc51fb982b5885daccf9650)
--HG--
branch : 6.0
2021-10-22 10:14:10 +02:00
Cédric Krier
d7d1fe5d58
Do not use supplier location if empty
...
issue10240
review350071002
(grafted from 9d974b18ef9d11a7f4a62c044d4f1110d39f559c)
--HG--
branch : 6.0
2021-07-12 22:37:21 +02:00
Sergi Almacellas Abellana
56dc89d985
Do not show edited delivery date once the purchase is processed
...
We must show the computed delivery date once the edition is not more possible
issue10394
review348341002
(grafted from 2ff2430b92ac448a68fa56bb1757e82f704b9ae8)
--HG--
branch : 6.0
2021-05-10 12:39:02 +02:00
Cédric Krier
14bb7731be
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
58fab6157a
Do not use existing move dates to plan new moves
...
issue10126
review357821004
2021-04-21 23:45:25 +02:00
Cédric Krier
c704796999
Remove contextual domain on company
...
issue10302
review338141004
2021-04-20 09:18:58 +02:00
Cédric Krier
a2eca43fc7
Add deductible rate of taxes to supplier invoice
...
issue6911
review341801002
2021-04-11 18:11:05 +02:00
Nicolas Évrard
0f62b5cf5d
Call super() method of view_attributes
...
issue10151
review349551002
2021-04-09 10:52:03 +02:00
Adrià Tarroja Caubet
2a6616a44b
Clear employee fields on copy
...
issue10209
review357511002
2021-04-05 16:24:13 +02:00
Cédric Krier
3c3a3835bc
Use explicit list of product types for stock move
...
issue10225
review361481002
2021-04-03 23:30:21 +02:00
Cédric Krier
abbe1bdeb7
Add company pattern to multivalue calls
...
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Sergi Almacellas Abellana
eba8d6826a
Add origin and set on returned purchase
...
issue4050
review335851002
2021-03-27 21:21:33 +01:00
Cédric Krier
ea89abb8da
Fallback to untaxed amount in PYSON expression about non-empty lines
...
issue10210
review347991002
2021-03-23 23:53:31 +01:00
Xavier
50ed519bf9
Do not recompute unit price when changing taxes
...
issue6837
review294921002
2021-03-23 23:51:44 +01:00
Cédric Krier
9376dbad61
Replace cursor fetchall by iteration over cursor
...
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier
200cb740e8
Store directly sequence type to sequence
...
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier
e87df05817
Add __access__ to Model
...
issue9903
review324601002
2021-03-07 11:13:53 +01:00
Cédric Krier
ff348a3642
Use wizard model class instead of Purchase in return wizard
...
issue10155
review355181002
2021-03-07 10:06:55 +01:00
Cédric Krier
a1d9f6c3f8
Add test on context of company multivalue target fields
...
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier
9950fe06a8
Add header grouping on report
...
issue6760
review351221002
2021-02-21 19:19:26 +01:00
Cédric Krier
4b904b1b40
Order with nulls first
...
issue10078
review331831002
2021-02-14 15:48:44 +01:00
Sergi Almacellas Abellana
2693aaf66d
Add default lead time to supplier
...
issue9420
review3117710
2021-01-19 14:59:54 +01:00
Maxime Richez
992834e4bd
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
5c72361525
Set payment term and invoice method from last party's purchases
...
issue9855
review318881002
2020-12-23 21:47:56 +01:00
Cédric Krier
a1b124b09b
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
Cédric Krier
3f79169814
Remove unused taxes dictionary
2020-11-15 18:16:31 +01:00
Cédric Krier
b44af7b1bf
Test purchase/sale is filled before using it
...
issue9770
review300771002
2020-10-30 00:10:37 +01:00
Cédric Krier
8b1d6acf3d
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:05 +02:00
Sergi Almacellas Abellana
f1a1a61f61
Only update actual quantity when it has changed
...
issue9541
review294321002
2020-10-04 23:54:46 +02:00
Cédric Krier
71bdf9525e
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
Sergey Datsevich
217c3e47cf
Reuse get_tax_amount in on_change_lines
...
issue9537
review312091002
2020-09-03 09:01:26 +02:00
Cédric Krier
a5d10e4f35
Use search context for product field on line
...
The context is only useful when searching product from line on the client.
So it is better to minimize the context to improve the caching.
issue9519
review310181002
2020-08-16 16:52:00 +02:00
Abraham Cabezas
844f940bdd
Convert Invoice.update_taxes into dualmethod
...
issue5334
review294221003
2020-07-29 22:51:13 +02:00
Cédric Krier
a86c6f0b91
Add model, record and records attribute on Wizard
...
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier
9e6c394822
Enforce unit price on drop and customer return moves
...
Those values are interesting information for reporting or to compare with the
cost price.
issue9402
review327421002
2020-07-04 23:49:25 +02:00
David Harper
4496e844cd
Rename move state from cancel to cancelled
...
issue8927
review297851002
2020-06-06 10:30:11 +01:00
David Harper
c1bcb2148e
Rename invoice state from cancel to cancelled
...
issue8927
review303661003
2020-06-06 10:23:14 +01:00
David Harper
f52104fa5c
Rename purchase state from cancel to cancelled
...
issue8927
review305681002
2020-06-06 10:14:13 +01:00
Cédric Krier
10febf5c86
Add related_party in search context of secondary party
...
issue9333
review323301002
2020-05-19 19:01:46 +02:00
Sergi Almacellas Abellana
53245643b7
Add company as product context field
...
issue9111
review275031002
2020-04-25 09:18:21 +02:00
Cédric Krier
4dbbd20bd3
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
db5b621734
Add actual quantity on line
...
The actual quantity is computed once the order is processing. We take the
biggest quantity between the shipped and invoiced and ignore the cancelled.
issue9191
review319091002
2020-04-14 09:27:53 +02:00
Cédric Krier
7a52ce817a
Allow copying attachments and notes to created records
...
issue9154
review266971002
2020-04-13 17:25:02 +02:00