resources.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "product_template": {
  3. "model": "product.template",
  4. "filters": [
  5. ["sale_ok", "=", true],
  6. ["active", "=", true]
  7. ],
  8. "exclude": [
  9. "active",
  10. "message_follower_ids",
  11. "message_ids",
  12. "message_is_follower",
  13. "message_last_post",
  14. "message_summary",
  15. "message_unread",
  16. "outgoing_qty",
  17. "packaging_ids",
  18. "route_ids"
  19. ],
  20. "module": "sale"
  21. },
  22. "product_product": {
  23. "model": "product.product",
  24. "filters": [
  25. ["active", "=", true]
  26. ],
  27. "exclude": [],
  28. "module": "sale"
  29. },
  30. "product_attribute_line": {
  31. "model": "product.attribute.line",
  32. "filters": [],
  33. "exclude": [],
  34. "module": "sale"
  35. },
  36. "product_attribute": {
  37. "model": "product.attribute",
  38. "filters": [],
  39. "exclude": [],
  40. "module": "sale"
  41. },
  42. "product_attribute_price": {
  43. "model": "product.attribute.price",
  44. "filters": [],
  45. "exclude": [],
  46. "module": "sale"
  47. },
  48. "product_attribute_value": {
  49. "model": "product.attribute.value",
  50. "filters": [],
  51. "exclude": [],
  52. "module": "sale"
  53. },
  54. "lead": {
  55. "model": "crm.lead",
  56. "filters": [
  57. ["type", "=", "lead"],
  58. ["active", "=", "active"]
  59. ],
  60. "exclude": [],
  61. "module": "crm"
  62. },
  63. "opportunity": {
  64. "model": "crm.lead",
  65. "filters": [
  66. ["type", "=", "opportunity"],
  67. ["active", "=", true]
  68. ],
  69. "exclude": [],
  70. "module": "crm"
  71. },
  72. "user": {
  73. "model": "res.users",
  74. "filters": [
  75. ["active", "=", true],
  76. ["jwt_token", "!=", false]
  77. ],
  78. "exclude": [
  79. "property_account_position",
  80. "ref_companies",
  81. "alias_defaults",
  82. "alias_parent_model_id",
  83. "alias_id",
  84. "property_stock_customer",
  85. "property_product_pricelist",
  86. "id_pos_order",
  87. "title",
  88. "child_ids",
  89. "property_stock_supplier",
  90. "user_ids",
  91. "property_account_receivable",
  92. "contract_ids",
  93. "commercial_partner_id",
  94. "message_follower_ids",
  95. "notify_email",
  96. "employee_ids"
  97. ],
  98. "module": "sale"
  99. },
  100. "partner": {
  101. "model": "res.partner",
  102. "filters": [
  103. ["active", "=", true],
  104. ["user_ids", "=", false]
  105. ],
  106. "exclude": [
  107. "property_account_position",
  108. "signup_valid",
  109. "ref_companies",
  110. "signup_url",
  111. "opt_out",
  112. "user_ids",
  113. "calendar_last_notif_ack",
  114. "signup_token",
  115. "signup_expiration",
  116. "property_account_receivable",
  117. "message_follower_ids",
  118. "notify_email",
  119. "message_ids",
  120. "message_unread",
  121. "message_summary",
  122. "message_is_follower",
  123. "message_last_post",
  124. "use_parent_address",
  125. "property_payment_term"
  126. ],
  127. "module": "sale"
  128. },
  129. "product_pricelist": {
  130. "model": "product.pricelist",
  131. "filters": [],
  132. "exclude": [],
  133. "module": "sale"
  134. },
  135. "sale_order": {
  136. "model": "sale.order",
  137. "filters": [],
  138. "exclude": [],
  139. "module": "sale"
  140. },
  141. "sale_order_line": {
  142. "model": "sale.order.line",
  143. "filters": [],
  144. "exclude": [],
  145. "module": "sale"
  146. },
  147. "stock_warehouse": {
  148. "model": "stock_warehouse",
  149. "filters": [],
  150. "exclude": [],
  151. "module": "sale"
  152. }
  153. }