Commit 8ccb312 1 parent 7a0e35a commit 8ccb312 Copy full SHA for 8ccb312
File tree 9 files changed +28
-22
lines changed
9 files changed +28
-22
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Maintenance Account
7
7
!! This file is generated by oca-gen-addon-readme !!
8
8
!! changes will be overwritten. !!
9
9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:4ea4d1ebecd2ebd0575d12df83833d26aa1b2f612897206ceec4f4aaa8382059
10
+ !! source digest: sha256:f9abd934016a986a5b9dd883b08f6af2e4a5f728f3ea4f4fe0b1ad56ff996d7c
11
11
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
13
13
.. |badge1 | image :: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -77,6 +77,10 @@ Contributors
77
77
- Pedro M. Baeza
78
78
- Carolina Fernandez
79
79
80
+ - `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io >`__
81
+
82
+ - Bhavesh Heliconia
83
+
80
84
Maintainers
81
85
-----------
82
86
Original file line number Diff line number Diff line change 1
1
# Copyright 2022 Tecnativa - Víctor Martínez
2
+ # Copyright 2024 Tecnativa - Carolina Fernandez
2
3
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
4
{
4
5
"name" : "Maintenance Account" ,
5
- "version" : "16 .0.1.1 .0" ,
6
+ "version" : "18 .0.1.0 .0" ,
6
7
"category" : "Maintenance" ,
7
8
"website" : "https://github.com/OCA/maintenance" ,
8
9
"author" : "Tecnativa, Odoo Community Association (OCA)" ,
Original file line number Diff line number Diff line change @@ -65,7 +65,5 @@ msgstr "Asiento"
65
65
msgid "Move line"
66
66
msgstr "Apunte"
67
67
68
- #. module: maintenance_account
69
- #: model:ir.model.fields,help: maintenance_account.field_maintenance_equipment__move_id
70
- msgid "The move of this entry line."
71
- msgstr "El movimiento de esta línea de entrada."
68
+ #~ msgid "The move of this entry line."
69
+ #~ msgstr "El movimiento de esta línea de entrada."
Original file line number Diff line number Diff line change @@ -64,7 +64,5 @@ msgstr "Movimento"
64
64
msgid "Move line"
65
65
msgstr "Riga movimento"
66
66
67
- #. module: maintenance_account
68
- #: model:ir.model.fields,help: maintenance_account.field_maintenance_equipment__move_id
69
- msgid "The move of this entry line."
70
- msgstr "Il movimento per questa riga di registrazione."
67
+ #~ msgid "The move of this entry line."
68
+ #~ msgstr "Il movimento per questa riga di registrazione."
Original file line number Diff line number Diff line change 4
4
#
5
5
msgid ""
6
6
msgstr ""
7
- "Project-Id-Version : Odoo Server 16 .0\n "
7
+ "Project-Id-Version : Odoo Server 17 .0\n "
8
8
"Report-Msgid-Bugs-To : \n "
9
9
"Last-Translator : \n "
10
10
"Language-Team : \n "
Original file line number Diff line number Diff line change 3
3
- Víctor Martínez
4
4
- Pedro M. Baeza
5
5
- Carolina Fernandez
6
+ - [ Heliconia Solutions Pvt. Ltd.] ( https://www.heliconia.io )
7
+ - Bhavesh Heliconia
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ <h1 class="title">Maintenance Account</h1>
367
367
!! This file is generated by oca-gen-addon-readme !!
368
368
!! changes will be overwritten. !!
369
369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:4ea4d1ebecd2ebd0575d12df83833d26aa1b2f612897206ceec4f4aaa8382059
370
+ !! source digest: sha256:f9abd934016a986a5b9dd883b08f6af2e4a5f728f3ea4f4fe0b1ad56ff996d7c
371
371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
< p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/maintenance/tree/18.0/maintenance_account "> < img alt ="OCA/maintenance " src ="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_account "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=18.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373
373
< p > This module automatically creates the equipment when validating the
@@ -424,6 +424,10 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
424
424
< li > Carolina Fernandez</ li >
425
425
</ ul >
426
426
</ li >
427
+ < li > < a class ="reference external " href ="https://www.heliconia.io "> Heliconia Solutions Pvt. Ltd.</ a > < ul >
428
+ < li > Bhavesh Heliconia</ li >
429
+ </ ul >
430
+ </ li >
427
431
</ ul >
428
432
</ div >
429
433
< div class ="section " id ="maintainers ">
Original file line number Diff line number Diff line change 3
3
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
4
4
5
5
from odoo import fields
6
- from odoo .tests import Form , common , new_test_user
6
+ from odoo .tests import Form , new_test_user
7
7
from odoo .tests .common import users
8
8
9
- from odoo .addons .base .tests .common import DISABLED_MAIL_CONTEXT
9
+ from odoo .addons .base .tests .common import BaseCommon
10
10
11
11
12
- class TestAccountMove (common . TransactionCase ):
12
+ class TestAccountMove (BaseCommon ):
13
13
@classmethod
14
14
def setUpClass (cls ):
15
15
super ().setUpClass ()
16
- cls .env = cls .env (context = dict (cls .env .context , ** DISABLED_MAIL_CONTEXT ))
17
16
new_test_user (
18
17
cls .env , login = "test-account-user" , groups = "account.group_account_invoice"
19
18
)
Original file line number Diff line number Diff line change 11
11
type =" object"
12
12
class =" oe_stat_button"
13
13
icon =" fa-cubes"
14
- attrs = " {'invisible': [(' equipment_count', '=', 0)]} "
14
+ invisible = " not equipment_count"
15
15
groups =" account.group_account_invoice"
16
16
>
17
17
<field
23
23
</button >
24
24
</xpath >
25
25
<xpath
26
- expr =" //field[@name='invoice_line_ids']/tree /field[@name='quantity']"
26
+ expr =" //field[@name='invoice_line_ids']/list /field[@name='quantity']"
27
27
position =" before"
28
28
>
29
29
<field
30
30
name =" equipment_category_id"
31
- attrs = " {'column_invisible': [(' parent.move_type', '!=', 'in_invoice')]} "
31
+ column_invisible = " parent.move_type != 'in_invoice'"
32
32
optional =" hide"
33
33
groups =" account.group_account_invoice"
34
34
/>
35
35
<field
36
36
name =" equipment_ids"
37
- invisible =" 1"
37
+ column_invisible =" 1"
38
38
groups =" account.group_account_invoice"
39
39
/>
40
40
</xpath >
41
41
<xpath
42
- expr =" //notebook//field[@name='line_ids']/tree /field[@name='date_maturity']"
42
+ expr =" //notebook//field[@name='line_ids']/list /field[@name='date_maturity']"
43
43
position =" after"
44
44
>
45
45
<field
50
50
/>
51
51
<field
52
52
name =" equipment_ids"
53
- invisible =" 1"
53
+ column_invisible =" 1"
54
54
groups =" account.group_account_invoice"
55
55
/>
56
56
</xpath >
You can’t perform that action at this time.
0 commit comments