-
Notifications
You must be signed in to change notification settings - Fork 0
/
is_article_view.xml
133 lines (121 loc) · 5.56 KB
/
is_article_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Wizard pour actualiser la liste des articles -->
<record id="is_article_actualiser_view" model="ir.ui.view">
<field name="name">is_article_actualiser_view</field>
<field name="model">is.article.actualiser</field>
<field name="arch" type="xml">
<form string="Actualiser la liste des articles">
<footer>
<button string='Actualiser la liste des articles' name="actualiser_liste_articles" type="object" class="oe_highlight"/>
or
<button string="Annuler" class="oe_link" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="is_article_actualiser_action" model="ir.actions.act_window">
<field name="name">Actualiser la liste des articles</field>
<field name="res_model">is.article.actualiser</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="is_article_actualiser_view"/>
<field name="target">new</field>
</record>
<!-- is.article -->
<record model="ir.ui.view" id="is_article_form_view">
<field name="name">is_article_form_view</field>
<field name="model">is.article</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Form">
<sheet>
<group>
<field name="name"/>
<field name="designation"/>
<field name="moule"/>
<field name="famille"/>
<field name="sous_famille"/>
<field name="categorie"/>
<field name="gestionnaire"/>
<field name="ref_fournisseur"/>
<field name="ref_plan"/>
<field name="couleur"/>
<field name="fournisseur"/>
<field name="unite"/>
<field name="societe"/>
<field name="cout_standard"/>
<field name="cout_actualise"/>
<field name="prevision_annee_n"/>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="is_article_tree_view">
<field name="name">is_article_tree_view</field>
<field name="model">is.article</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="designation"/>
<field name="moule"/>
<field name="famille"/>
<field name="sous_famille"/>
<field name="categorie"/>
<field name="gestionnaire"/>
<field name="ref_fournisseur"/>
<field name="ref_plan"/>
<field name="couleur"/>
<field name="fournisseur"/>
<field name="unite"/>
<field name="societe"/>
<field name="cout_standard"/>
<field name="cout_actualise"/>
<field name="prevision_annee_n"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="is_article_search_view" >
<field name="name">is_article_search_view</field>
<field name="model">is.article</field>
<field name="arch" type="xml">
<search>
<field name="name"/>
<field name="designation"/>
<field name="moule"/>
<field name="famille"/>
<field name="sous_famille"/>
<field name="categorie"/>
<field name="gestionnaire"/>
<field name="ref_fournisseur"/>
<field name="ref_plan"/>
<field name="couleur"/>
<field name="fournisseur"/>
<field name="societe"/>
</search>
</field>
</record>
<record model="ir.actions.act_window" id="is_article_action">
<field name="name">Articles de tous les sites</field>
<field name="res_model">is.article</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Lancement automatisé du calcul -->
<record forcecreate="True" id="is_article_scheduler_action" model="ir.cron">
<field name="name">Actualiser la liste des articles de tous les sites</field>
<field name="active" eval="True" />
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'is.article.actualiser'" name="model"/>
<field eval="'run_actualiser_liste_articles'" name="function"/>
<field eval="'(True,)'" name="args"/>
</record>
</data>
</openerp>